Home
Products
Pricing
Developer
Developer resources
Documentation
Guides, SDK setup, and integration walkthroughs.
API references
Explore endpoints, schemas, and request examples.
Support
Login
Register
Home
Products
Pricing
Developer
Support
Login
Register
Open documentation menu
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.
JAVASCRIPT
Copy
Add your cluster data in this format.
JAVASCRIPT
Copy
Example
Code for above example:
JAVASCRIPT
HTML
Copy