removePolygon method

void removePolygon(
  1. String polygonId
)

Removes a polygon from the map by its ID.

Example:

controller.removePolygon('area1');

Implementation

void removePolygon(String polygonId) {
  _impl.removePolygon(polygonId);
}