AreaMarker<T> constructor
AreaMarker<T> ({})
Implementation
AreaMarker({
super.zoomlevelRange,
super.key,
double strokeWidth = 2.0,
int strokeColor = 0xff000000,
int fillColor = 0x00000000,
List<double>? strokeDasharray,
List<ILatLong> path = const [],
int? strokeMinZoomLevel,
}) {
_path = path.isEmpty ? Waypath.empty() : Waypath(path: path);
renderinstruction = RenderinstructionArea(0);
renderinstruction.setStrokeColorFromNumber(strokeColor);
renderinstruction.setStrokeWidth(strokeWidth);
renderinstruction.setStrokeDashArray(strokeDasharray);
renderinstruction.setFillColorFromNumber(fillColor);
if (strokeMinZoomLevel != null) renderinstruction.setStrokeMinZoomLevel(strokeMinZoomLevel);
}