ClustererOptions | MapGL | Urbi Documentation
MapGL JS API

ClustererOptions

Clusterer initialization options.

Properties
ClusterStyle(pointsCount: number, target: ClusterTarget) => ClusterStyle

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.

number

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

number

Clustering radius in pixels.