August 2014
Intermediate to advanced
180 pages
3h 41m
English
The first heatmap you will make will be a density heatmap, using the Leaflet.heat plugin. You can download the JavaScript plugin at https://github.com/Leaflet/Leaflet.heat. The following steps will walk you through creating your first heatmap:
LeafletEssentials.html, add a reference to Leaflet.heat.js with either a URL to a remote copy or the path to your local copy, as shown in the following code:<script src="http://Leaflet.github.io/Leaflet.heat/dist/Leaflet-heat.js"></script> or, <script src="Leaflet-heat.js"></script>