removePolygon

open fun removePolygon(@NonNull polygon: Polygon)

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Convenience method for removing a Polygon from the map.

Calls removeAnnotation() internally.

Parameters

polygon

Polygon to remove