onPolygonTap method

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

A Polygon has been tapped.

Implementation

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