PolylineLayerOptions constructor
PolylineLayerOptions({})
Implementation
PolylineLayerOptions({
Key? key,
this.polylines = const [],
this.polylineCulling = false,
Stream<void>? rebuild,
this.saveLayers = false,
}) : super(key: key, rebuild: rebuild) {
if (polylineCulling) {
for (final polyline in polylines) {
polyline.boundingBox = LatLngBounds.fromPoints(polyline.points);
}
}
}