[android] #3029 - Adding removeMarker() convenience method

This commit is contained in:
Brad Leege
2015-11-13 17:23:45 -06:00
parent e2e5b380fb
commit a6e639b794

View File

@@ -1868,6 +1868,18 @@ public final class MapView extends FrameLayout {
return new ArrayList<>(polygons);
}
/**
* Convenience method for removing a Marker from the map.
*
* Calls removeAnnotation() internally
* @param marker Marker to remove
*/
@UiThread
public void removeMarker(@NonNull Marker marker) {
removeAnnotation(marker);
}
/**
* Removes an annotation from the map.
*