clusterPlacemarks abstract method

void clusterPlacemarks({
  1. required double clusterRadius,
  2. required int minZoom,
})

Updates clustered representations of placemark groups. This method must be called explicitly to render placemarks and clusters when collection is created and update them after collection change.

clusterRadius Minimal distance in units between objects that remain separate. The size of the unit is equal to the size of a pixel when the camera position's tilt is equal to 0 and the scale factor is equal to 1. minZoom Minimal zoom level that displays clusters. All placemarks will be rendered separately at more detailed zoom levels. The value will be clipped between 0 and 19 (most detailed zoom).

Implementation

void clusterPlacemarks({
  required core.double clusterRadius,
  required core.int minZoom,
});