PolygonLayer constructor
Implementation
PolygonLayer({
super.key,
this.polygons = const [],
this.polygonCulling = false,
}) {
if (polygonCulling) {
for (final polygon in polygons) {
polygon.boundingBox = LatLngBounds.fromPoints(polygon.points);
}
}
}