August 2014
Intermediate to advanced
180 pages
3h 41m
English
A heatmap is an alternative visualization to a point map. A point map often becomes cluttered with large markers that make it hard to find hotspots. In an intensity heatmap, a single point could be a hotspot. The color coding of values in a heatmap makes it easy to see patterns in the data. Heatmaps can also be used to visualize other spatial data, such as tracking where a mouse moves on a web page or where a person's eyes travel when reading something on the screen. In this example, you will learn how to create a heatmap that responds to user mouse clicks on the map:
Leaflet.heat.js:<script src="Leaflet-heat.js"></script>
doubleClickZoom option on the map. Since the ...Read now
Unlock full access