ClustererOptions | MapGL | Urbi Documentation
MapGL JS API

ClustererOptions

Clusterer initialization options.

Properties
(pointsCount: number, target: ClusterTarget) => 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

At this zoom level and above, markers will not be clustered.

undefinednumber

Clustering radius in pixels.