Options
All
  • Public
  • Public/Protected
  • All
Menu

Point layer clustering options

since

0.14

Hierarchy

  • AddVectorLayerClusteringOptions

Index

Properties

clusterDistance: number

The distance to use for clustering. Setting this value will create a clustered layer.

  • If {@see clusterDistance} is set, but {@see clusterStyle} is not set, the {@see IAddLayerFromParsedFeaturesOptions.defaultStyle} will be used if set, otherwise the default vector style will be used
clusterStyle?: IVectorLayerStyle

The style to use for this clustered layer.

  • If {@see clusterDistance} is not set, this has no effect
  • If {@see clusterDistance} is set but this is not set, the {@see IAddLayerFromParsedFeaturesOptions.defaultStyle} will be used if set, otherwise the default vector style will be used
kind: "Cluster"
onClusterClickAction?: ClusterClickAction

The action to perform when the cluster is clicked

Generated using TypeDoc