MapClusteringConfig constructor
const
MapClusteringConfig({
- double minZoom = 5,
- double maxZoom = 15,
- int maxClusterRadius = 45,
- Size clusterSize = const Size(40, 40),
- EdgeInsets clusterPadding = const EdgeInsets.all(8),
- AlignmentGeometry clusterAlignment = Alignment.center,
- bool zoomToBoundsOnClick = true,
- EdgeInsets fitBoundsPadding = const EdgeInsets.all(80.0),
- required Widget clusterBuilder(
- BuildContext context,
- List<
Marker> markers
Implementation
const MapClusteringConfig({
this.minZoom = 5,
this.maxZoom = 15,
this.maxClusterRadius = 45,
this.clusterSize = const Size(40, 40),
this.clusterPadding = const EdgeInsets.all(8),
this.clusterAlignment = Alignment.center,
this.zoomToBoundsOnClick = true,
this.fitBoundsPadding = const EdgeInsets.all(80.0),
required this.clusterBuilder,
});