Documentation menu
Developer guides

Ola Maps Web SDK v2 - Marker Clustering

This documentation provides methods for adding marker clustering in map.
Add a GeoJSON to map using addSource map method and style it using addLayer’s paint fill layer properties.
Add your cluster data in this format.

Example

Code for above example: