ClustererOptions | MapGL | 2GIS Documentation

ClustererOptions

Clusterer initialization options.

Properties
(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.

undefinednumber

Clustering radius in pixels.