onPolygonTap method

  1. @override
Stream<PolygonTapEvent> onPolygonTap({
  1. required int mapId,
})
override

A Polygon has been tapped.

Implementation

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