cluster

val cluster: Boolean = false(source)

Parameters

cluster

If the data is a collection of point features, setting this to true clusters the points by radius into groups. Cluster groups become new Point features in the source with additional properties: cluster, cluster_id, point_count, and point_count_abbreviated.

See the MapLibre Style Spec for details.