CircleMarker<T> constructor

CircleMarker<T>({
  1. ZoomlevelRange zoomlevelRange = const ZoomlevelRange.standard(),
  2. T? key,
  3. required ILatLong latLong,
  4. MapPositioning position = MapPositioning.CENTER,
  5. int bitmapColor = 0xff000000,
  6. double radius = 10,
  7. int fillColor = 0x00000000,
  8. int strokeColor = 0xff000000,
  9. double strokeWidth = 2.0,
  10. 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);
}