[TIMOB-10679] Titanium.Map.View.removeAnnotations([]) did not remove annotations
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Needs more info |
| Resolution Date | 2012-08-27T21:25:54.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Thomas Wilkinson |
| Assignee | Neeraj Gupta |
| Created | 2012-08-27T16:12:04.000+0000 |
| Updated | 2017-03-09T23:52:43.000+0000 |
Description
mapView is object of type TiMapView
var toRemove = []
var ar = mapView.getAnnotations();
// ... push some elements of ar[] into toRemove
mapView.removeAnnotations(toRemove);
// all annotations remain
// mapView.removeAnnotation(ar[i]) removing annotations one at a time worked.
@Thomas - Please provide a complete test case to reproduce this issue. Refer to JIRA bug filing guidelines for more information.
Closing this ticket as the request for more information has not been provided.