removeMarker method

void removeMarker(
  1. String markerId
)

Removes a marker from the map by its ID.

Example:

controller.removeMarker('marker1');

Implementation

void removeMarker(String markerId) {
  _impl.removeMarker(markerId);
}