Skip to content

Relative heatmap#58

Open
Guitlle wants to merge 4 commits intoLeaflet:gh-pagesfrom
Guitlle:relative-heatmap
Open

Relative heatmap#58
Guitlle wants to merge 4 commits intoLeaflet:gh-pagesfrom
Guitlle:relative-heatmap

Conversation

@Guitlle
Copy link

@Guitlle Guitlle commented May 14, 2016

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)

image

image

Guillermo Ambrosio added 3 commits May 13, 2016 18:15
I did this quickly in order to see a better heat map, with nicer
distribution of colors. I'm not sure what's the theory behind this but
this value worked ok for me, for the demo.
@spaasis
Copy link

spaasis commented May 14, 2016

The /dist/leaflet-heat.js seems to contain the main branch version of the L.HeatLayer. After copy-pasting seems to work nicely, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants