addDecoration Method
This method should be called from decorate. It will add this this MarkerSet to the supplied DecorateContext. This method implements the logic that turns overlapping Markers into a Cluster.
addDecoration(context: DecorateContext): void
| Parameter | Type | Description | 
|---|---|---|
| context | DecorateContext | The DecorateContext for the Markers | 
Returns - void
Defined in
- core/frontend/src/Marker.ts Line 427
 
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.