MapClusteringConfig constructor

const MapClusteringConfig({
  1. double minZoom = 5,
  2. double maxZoom = 15,
  3. int maxClusterRadius = 45,
  4. Size clusterSize = const Size(40, 40),
  5. EdgeInsets clusterPadding = const EdgeInsets.all(8),
  6. AlignmentGeometry clusterAlignment = Alignment.center,
  7. bool zoomToBoundsOnClick = true,
  8. EdgeInsets fitBoundsPadding = const EdgeInsets.all(80.0),
  9. required Widget clusterBuilder(
    1. BuildContext context,
    2. 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,
});