I am looking for a heatmap vizualization on a map, which shows:
- local maxima: that means that you always see some "red spots" regardless the zoom. See the picture below.
enables to set a weight to the points.
provides an API.
Ideally I would like to also display a legend for the heatmap.
UPDATE Based on my research and a comment of @IvanSanchez I found that:
Leaflet with leaflet.heat plugin and heatmap.js turned out to cover all three requirements. However, a problem with heatmap.js was that points being plotted are very close to each other and the outcome was a red overlay rather than a heatmap. See the picture below. This problem was overcome in leaflet by setting radius and a blur parameters. Leaflet turned out to be the best option.