Use this function to aggregate cluster properties whenever a feature is being added or removed to the cluster.
Specifies the maximum zoom level at which data should be clustered.
If not defined, it defaults to zoom level 13.
When the map zoom level exceeds the clusterMaxZoom
, raw data features will be displayed instead of clusters.
Defines the radius, in pixels, within which features should be clustered. The default value is 32 pixels.
This function generates the initial properties of a cluster. Please note that defined Properties in ClusterFeatureProperties are considered as readonly and are not allowed to be set. If the function is not defined, the default implementation returns an empty object.
tileMargin that should be applied to all providers of the layer.
The maximum zoom level at which data from the TileLayer will be displayed.
minimum zoom level at which data from the TileLayer will be displayed.
Name of the TileLayer.
Determines whether pointer events are enabled for all features of the layer.
The data provider supplying the data to be clustered.
Style for rendering features in this layer.
the size of the tile data in pixel.
Indicates whether the layer should be visible (true
) or hidden (false
).
Generated using TypeDoc
Options for configuring a ClusterTileLayer.