Leaflet / Leaflet.heat

A tiny, simple and fast heatmap plugin for Leaflet.
http://leaflet.github.io/Leaflet.heat/demo
BSD 2-Clause "Simplified" License
1.55k stars 525 forks source link

Radius per point #52

Open samchorlton opened 8 years ago

samchorlton commented 8 years ago

Is it possible to set a custom radius per point rather than a radius for the set of points. I am trying to construct a heatmap from polygon centroids and would be great to be able to set a larger radius for larger polygons. The resultant effect would then hopefully be that I could weight the intensities for smaller polygons over those of larger.

mourner commented 8 years ago

Not possible at the moment, but it shouldn't be too hard to customize by modifying the source.