[TIMOB-3026] No way to find a map's location if it isn't changed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-08-29T15:17:08.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | 1.6, android, mapview |
Reporter | Shish |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:35:03.000+0000 |
Updated | 2017-03-09T23:38:34.000+0000 |
Description
MapView.region and MapView.location seem to be write-only variables, so I can't get the location from them. Listening for the regionChanged event, that only fires after the region is changed, so if the user leaves the map where it is I can't use that either.
At the moment I'm having to wrap the setLocation call so that it saves the location to a variable within my app and then calls setLocation on the app, then the regionChanged event updates that variable, then getLocation returns that variable, but that seems messy when the map object could have getLocation built in...
No test case provided, unable to reproduce, ticket marked as invalid. If this is supposed to be a feature request, feel free to reopen this ticket and edit it with the correct settings.
Closing ticket as invalid.