Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2067] No latitude/longitude deltas on regionChange-event (Android Maps v2)

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-05-20T17:33:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, maps
Reporterroel
AssigneeShak Hossain
Created2013-05-14T00:07:40.000+0000
Updated2016-03-08T07:41:01.000+0000

Description

Currently there are no longitudeDelta / latitudeDelta properties defined when the regionChanged-event is fired (as in v1). The region-property (View) does have the original deltas stored that are used for creating the mapView, but these do not change when zooming/swiping.

Comments

  1. Eduardo Gomez 2013-05-20

  2. roel 2013-05-20

    Yes thank you, I can confirm it's working for 3.1. I do experience there is no initial regionchanged fired when a mapView is opened for the first time, while this is the case for iOS5+6 + Android maps v1. I'm not sure if this is a bug or a feature. A workaround is a fireEvent('regionchanged') after setting up the mapView. But then all lat/lng/deltas are undefined, until you manually zoom/swipe. Could you let me know if this is question for the forums, or should I submit a ticket here?
  3. Eduardo Gomez 2013-05-20

    Yes, please create a question that relates to your core issue. Thanks.

JSON Source