Cluster

data class Cluster(val value: Value)

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 Is true if the point is a cluster cluster_id A unqiue id for the cluster to be used in conjunction with the cluster inspection methods point_count Number of original points grouped into this cluster point_count_abbreviated An abbreviated point count

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun Cluster(value: Boolean)

Construct the Cluster with Boolean.

Link copied to clipboard
fun Cluster(expression: Expression)

Construct the Cluster with Mapbox Expression.

Link copied to clipboard
fun Cluster(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard