PolygonManager constructor

PolygonManager(
  1. VietmapController controller, {
  2. void onTap(
    1. Polygon
    )?,
  3. bool enableInteraction = true,
})

Implementation

PolygonManager(
  super.controller, {
  super.onTap,
  super.enableInteraction = true,
}) : super(
        selectLayer: (Polygon fill) =>
            fill.options.polygonPattern == null ? 0 : 1,
      );