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