CircleMarker<T> constructor
CircleMarker<T> ({
- ZoomlevelRange zoomlevelRange = const ZoomlevelRange.standard(),
- T? key,
- required ILatLong latLong,
- MapPositioning position = MapPositioning.CENTER,
- int bitmapColor = 0xff000000,
- double radius = 10,
- int fillColor = 0x00000000,
- int strokeColor = 0xff000000,
- double strokeWidth = 2.0,
- int? strokeMinZoomLevel,
Implementation
CircleMarker({
super.zoomlevelRange,
super.key,
required super.latLong,
MapPositioning position = MapPositioning.CENTER,
int bitmapColor = 0xff000000,
double radius = 10,
int fillColor = 0x00000000, // transparent
int strokeColor = 0xff000000, // black
double strokeWidth = 2.0,
int? strokeMinZoomLevel,
}) {
renderinstruction = RenderinstructionCircle(0);
renderinstruction.radius = radius;
renderinstruction.fillColor = fillColor;
renderinstruction.setStrokeColorFromNumber(strokeColor);
renderinstruction.position = position;
renderinstruction.setStrokeWidth(strokeWidth);
if (strokeMinZoomLevel != null) renderinstruction.setStrokeMinZoomLevel(strokeMinZoomLevel);
}