showMarkerInfoWindow method

void showMarkerInfoWindow(
  1. MarkerId markerId
)

Shows the InfoWindow of a MarkerId.

See also hideMarkerInfoWindow and isInfoWindowShown.

Implementation

void showMarkerInfoWindow(MarkerId markerId) {
  _hideAllMarkerInfoWindow();
  final MarkerController? markerController = _markerIdToController[markerId];
  markerController?.showInfoWindow();
}