[TIMOB-1965] Android: Implement MapView.deselectAnnotation
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:57:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, feature |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T03:06:45.000+0000 |
Updated | 2011-04-17T01:57:40.000+0000 |
Description
See http://developer.appcelerator.com/helpdesk/view/46181">Helpdesk 46181
basically hide annotation.
(from [819a07b2e209f6f83f3593def64473bc0f49bd33]) [#1965 state:fixed-in-qa] Added deselectAnnotation method. http://github.com/appcelerator/titanium_mobile/commit/819a07b2e209f6f83f3593def64473bc0f49bd33"> http://github.com/appcelerator/titanium_mobile/commit/819a07b2e209f...
Don, thanks for implementing this! Looking at the code, I'm wondering what the result would be if you had more than one annotation with the same title. Would all matching annotations be removed or would mv.selectAnnotation(false, title, animate); barf when it matched multiple items?
If nothing else, the maps documentation should make it clear that this method ultimately works with a title.
Tested and working in my app using nightly build version=1.4.2, timestamp=09/30/10 17:10, githash=d090c5. Thanks!
1.4.2.4ce7ff G1 running 1.6, 2.2 simulator.