[android] #3276 - remove annotations was not calling removeMarkerView

This commit is contained in:
Tobrun
2016-05-10 14:34:24 +02:00
parent b32c44ce73
commit a8352dadde
3 changed files with 34 additions and 11 deletions

View File

@@ -1021,6 +1021,7 @@ public class MapboxMap {
annotation = mAnnotations.get(ids[i]);
if (annotation instanceof Marker) {
((Marker) annotation).hideInfoWindow();
removeMarkerView(annotation.getId());
}
}
mMapView.removeAnnotations(ids);