MarkersClusterManager constructor

MarkersClusterManager({
  1. dynamic onMarkerTap(
    1. LatLng
    )?,
  2. Color clusterColor = Colors.blue,
  3. ShapeBorder clusterShape = const CircleBorder(),
  4. double clusterMarkerSize = 35.0,
  5. double clusterBorderThickness = 4.0,
  6. Color clusterBorderColor = Colors.black,
  7. double clusterOpacity = 1.0,
  8. TextStyle clusterTextStyle = const TextStyle(fontSize: 15, color: Colors.white),
})

Creates a MarkersClusterManager with optional customization.

Implementation

MarkersClusterManager({
  this.onMarkerTap,
  this.clusterColor = Colors.blue,
  this.clusterShape = const CircleBorder(),
  this.clusterMarkerSize = 35.0,
  this.clusterBorderThickness = 4.0,
  this.clusterBorderColor = Colors.black,
  this.clusterOpacity = 1.0,
  this.clusterTextStyle = const TextStyle(
    fontSize: 15,
    color: Colors.white,
  ),
}) : zoomLevelRadius = _defaultZoomLevelRadius;