hideMarkerInfoWindow method

Future<void> hideMarkerInfoWindow (
  1. MarkerId markerId
)

Programmatically hide the Info Window for a Marker.

The markerId must match one of the markers on the map. An invalid markerId triggers an "Invalid markerId" error.

Implementation

Future<void> hideMarkerInfoWindow(MarkerId markerId) {
  assert(markerId != null);
  return _googleMapsFlutterPlatform.hideMarkerInfoWindow(markerId,
      mapId: mapId);
}