Documentation menu
Developer guides

Ola Maps Web SDK v1 - Heatmap Layers

Important Notice
The Web SDK v1 support ended on March 31, 2026. We will no longer be providing any support for Web SDK v1. Please migrate to our Web SDK v2 for new features and improvements, and continued support.
This documentation provides methods for adding heatmap layer in map.
Add a GeoJSON to map using addSource map method and style it using addLayer’s paint heatmaps properties.
Add your cluster data in this format.

Example