Simple Leaflet Map with Heatmap
✓ Published0🌍 Public
Dd3noob
Last edited Apr 20, 2014
Created on Feb 13, 2014
A simple Leaflet map displays earthquake activity across New Zealand, with magnitude visualized as a heatmap overlay. The map uses Leaflet.js with the Leaflet.heat plugin, plotting quake points from New Zealand’s Geonet data on an OpenStreetMap tile layer. The heatmap is rendered with a radius of 20, blur of 15, and maximum zoom of 17, showing density and intensity of seismic events around the North Island.
AI-generated descriptionAn example of a map presented with leaflet.js and the Leaflet.heat plugin with a range of options.
This is provided in conjunction with the explanation of the code given in the book "Leaflet Tips and Tricks".