showMarkerInfoWindow method

Future<void> showMarkerInfoWindow(
  1. MarkerId markerId
)

Programmatically show 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> showMarkerInfoWindow(MarkerId markerId) {
  return GoogleMapsFlutterPlatform.instance
      .showMarkerInfoWindow(markerId, mapId: mapId);
}