[AC-2181] Modules.Map.View.getRegion does not return the current map region
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Needs more info |
Resolution Date | 2013-10-18T20:29:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules, Titanium SDK & CLI |
Labels | android, mapView |
Reporter | Mark Burggraf |
Assignee | Shak Hossain |
Created | 2013-10-10T21:35:02.000+0000 |
Updated | 2016-03-08T07:41:10.000+0000 |
Description
See:
https://developer.appcelerator.com/question/157224/problem-getregion-google-map-api-v2-on-android
When calling getRegion on a Modules.Map.View under Android, it always returns the original map region, even after the user has scrolled or resized the map.
Hi Mark, Can you provide a self contained code sample so that we can work on reproducing this issue. Also which android version was this tested on?
Please provide a testcase.
There's an example in the link I provided. I tested under Android 4.3 on a Google Nexus 7 tablet.
Mark, that's not a testcase. You need a self contained testcase: something you can copy-paste into app.js. Best, Mauro
I don't have the time to write a test case for it. It's a bug either way, reported by others and confirmed by me. If you want to close this, that's fine, but a bug is a bug.
Hello, I tested this this issue with [the code| https://gist.github.com/csemrm/8224421]. I can’t reproduce this issue. Please check this code with the latest TiSDK Build and let me know if this problem persists.
Test Environment
Mac OS X 10.8.5 Ti SDK 3.2.0.GA Ti CLI 3.2.0 Android 2.3.3Test Code
https://gist.github.com/csemrm/8224421