PolygonLayer<R extends Object> constructor
const
PolygonLayer<R extends Object> ({})
Create a new PolygonLayer for the FlutterMap widget.
Implementation
const PolygonLayer({
super.key,
required this.polygons,
this.useAltRendering = false,
this.polygonCulling = true,
this.simplificationTolerance = 0.5,
this.polygonLabels = true,
this.drawLabelsLast = false,
this.hitNotifier,
}) : assert(
simplificationTolerance >= 0,
'simplificationTolerance cannot be negative: $simplificationTolerance',
);