ClustererOptions | MapGL | 2GIS Documentation


Clusterer initialization options.

(pointsCount: number) => ClusterStyleClusterStyle

Style of clusters. This parameter accepts an object or a function. When given an object, the same style will be applied to all clusters. If you want to customize the style based on the number of markers within the cluster, you can provide a function instead.


Clustering radius in pixels.