Documentation menu
Ola Maps
Developer Docs
  • Overview
  • Authentication
  • Multilingual Language Support
      • SDK Setup
      • Adding Markers
      • Events & Controls
      • Static Maps
      • Geolocation
      • Adding Shapes
      • Marker Clustering
      • Heatmap Layer
      • Ground Overlays
      • Custom Overlays
  • Street View
Developer guides

Ola Maps Web SDK v2 - Adding Heatmap Layers

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