Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative values #25

Open
ClemC opened this issue May 19, 2015 · 3 comments
Open

Negative values #25

ClemC opened this issue May 19, 2015 · 3 comments

Comments

@ClemC
Copy link

ClemC commented May 19, 2015

Hello,

I would like to specify a heat map with negative and positive values. Is it possible ?

Example : [ P1 {lat:0, lng:0, value: -0.5}, P2 {lat:10, lng:0, value: -0.2}, P3 {lat:10, lng:10, value: 0.3} ]

I think about a solution but it doesn't work :
In this example, if I add 0.5 to the values I will have positive values. However, assuming 0 is blue and 1 is red, the fusion of P1 and P2 will produce a more red color although a fusion of negative values will produce a more blue color.

Thank you

@mourner
Copy link
Member

mourner commented Oct 26, 2015

Not possible at the moment.

@marcel12bell
Copy link

@mourner any news on this? I have Data where values are going below 0....

@VBIManonmaniM
Copy link

Scale all the values with positive and negative value to [0 to 1] so we can use Leaflet.Heatmap to display heatmap

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

No branches or pull requests

4 participants