Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10679] Titanium.Map.View.removeAnnotations([]) did not remove annotations

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionNeeds more info
Resolution Date2012-08-27T21:25:54.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterThomas Wilkinson
AssigneeNeeraj Gupta
Created2012-08-27T16:12:04.000+0000
Updated2017-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.

Comments

  1. Neeraj Gupta 2012-08-27

    @Thomas - Please provide a complete test case to reproduce this issue. Refer to JIRA bug filing guidelines for more information.
  2. Lee Morris 2017-03-09

    Closing this ticket as the request for more information has not been provided.

JSON Source