onLongPress method

  1. @override
Stream<MapLongPressEvent> onLongPress({
  1. required int mapId,
})
override

A Map has been long-pressed at a certain LatLng.

Implementation

@override
Stream<MapLongPressEvent> onLongPress({required int mapId}) {
  return _events(mapId).whereType<MapLongPressEvent>();
}