Decides the clustering strategy for a single GeoJSON layer, returning { shouldCluster, useSharedCluster }. Reads the capability config (modules.cluster); returns _CLUSTER_NONE when the capability is disabled.
{ shouldCluster, useSharedCluster }
modules.cluster
_CLUSTER_NONE
The GeoJSON layer definition (per-layer clustering override).
clustering
The layer's GeoJSON data (probed for Point features).
Decides the clustering strategy for a single GeoJSON layer, returning
{ shouldCluster, useSharedCluster }. Reads the capability config (modules.cluster); returns_CLUSTER_NONEwhen the capability is disabled.