MarkersClusterManager constructor
MarkersClusterManager({
- dynamic onMarkerTap(
- LatLng
- Color clusterColor = Colors.blue,
- ShapeBorder clusterShape = const CircleBorder(),
- double clusterMarkerSize = 35.0,
- double clusterBorderThickness = 4.0,
- Color clusterBorderColor = Colors.black,
- double clusterOpacity = 1.0,
- 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;