isMarkerInfoWindowShown method

Future<bool> isMarkerInfoWindowShown(
  1. MarkerId markerId
)

Returns true when the InfoWindow is showing, false otherwise.

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

Implementation

Future<bool> isMarkerInfoWindowShown(MarkerId markerId) {
  _checkWidgetMountedOrThrow();
  return GoogleMapsFlutterPlatform.instance.isMarkerInfoWindowShown(
    markerId,
    mapId: mapId,
  );
}