Cluster Options
Options to show and configure symbol clustering with using PointAnnotationManager
or CircleAnnotationManager
.
It exposes a minimal of configuration options, a more advanced setup can be created manually with using CircleLayer and SymbolLayers directly.
Constructors
Properties
The circle radius of the cluster items in expression. Have higher priority than circleRadius, but will apply circleRadius if not set any value.
An object defining custom properties on the generated clusters if clustering is enabled, aggregating values from clustered points. Has the form {"property_name": [operator, map_expression]}
. operator
is any expression function that accepts at least 2 operands (e.g. "+"
or "max"
) — it accumulates the property value from clusters/points the cluster contains; map_expression
produces the value of a single point.