GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-20T10:36:19.000+0000 |
Affected Version/s | Release 2.0.1 |
Fix Version/s | Sprint 2012-15 API, Release 3.0.0 |
Components | Android |
Labels | api, module_map, parity, qe-port, qe-testadded |
Reporter | Anirudh Nagesh |
Assignee | Josh Roesslein |
Created | 2012-06-22T14:51:17.000+0000 |
Updated | 2013-06-20T10:36:19.000+0000 |
setAnnotation and setRegion methods are not working on Android Mapview. Its working fine on iOS.
Run the attached app.js to test the functionality.
Steps to reproduce:
1. Copy the app.js to a sample project.
2. Run it on a Google API's SDK.
3. Click on 'ann1a' and 'ann2a' buttons. Annotations wont get added to the map. ( setAnnotations() are used here).
4. Click on 'ann1b' and 'ann2b' buttons. Annotations get added to the map view. ( addAnnotations() is used here)
5. Same behavior is seen for setRegion and setLocation. ( setLocation works but setRegion does not)
**Added updated test case that also tests the 'userLocation' and 'regionFit' properties.**
Created [PR #2552](https://github.com/appcelerator/titanium_mobile/pull/2552) to resolve issue.
Verified on: SDK:2.2.0.v20120816212512 Studio:2.1.1.201207271312 Devices: Samsung galaxy note(android v2.3.6)
Reopening just to update label.
Updated label and also verified.Tested on: Tested on: Device: Nexus 7 tab Android Version 4.1 SDK:3.1.2.v20130619101604 Appcelerator Studio: 3.1.1.201306131423 OS: OSX 10.8 acs:1.0.3 alloy:1.1.3 npm:1.2.14 titanium:3.1.1 titanium-code-processor:1.0.1