Open Guitlle opened 8 years ago
Hi. This pull request adds relative heat maps feature. Check the following images, by draging the map, the heat map coloring changes according to the range of values being visualized.
To use it, set relative propertie to true in the options.
L.heatLayer(addressPoints, {relative: true}).addTo(map)
The /dist/leaflet-heat.js seems to contain the main branch version of the L.HeatLayer. After copy-pasting seems to work nicely, though!
Hi. This pull request adds relative heat maps feature. Check the following images, by draging the map, the heat map coloring changes according to the range of values being visualized.
To use it, set relative propertie to true in the options.
L.heatLayer(addressPoints, {relative: true}).addTo(map)