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

intensity does not seem to work #74

Open
matthieu80 opened this issue Oct 19, 2016 · 9 comments
Open

intensity does not seem to work #74

matthieu80 opened this issue Oct 19, 2016 · 9 comments

Comments

@matthieu80
Copy link

Hi there,
Changing the value of the intensities does not change the look of a map.
Is there anything I am missing?

Thank you!

@sorin-simu
Copy link

Hi,
I have this problem too. The intensity attribute doesn't seem to work.
e.g.: [46.770439, 23.591423, "50"], [46.779439, 23.599423, "500.8"] looks the same on map.

@mourner Can you fix this bug in the near future ? Thanks a lot.

@fullyBoricua
Copy link

Unless you change the 'max' option (maximum point intensity) all points will look the same over the default value of "1". You are also passing the intensity as a string, it should be a number.

Try with:
[46.770439, 23.591423, 0.5], [46.779439, 23.599423, 1]
They should look different

@sorin-simu
Copy link

@fullyBoricua thanks for your response. I've change them as you said but the result in the same.
image
It seems like a bug .. @matthieu80

@Harvinator
Copy link

Hi,

I've submitted a pull request #78 which will hopefully resolve this

@archeg
Copy link

archeg commented Feb 20, 2017

Looks like this is still an issue?

@nakiabrewer
Copy link

Can anyone confirm if this is still the case? I am using leafletheat as part of a modified Node Red node called 'world map' and am seeing the same results as the people above. When I set max to say 10 and provide an intensity value of 9 I'm getting the same visual result as when I provide a value of 1.

@Zahma
Copy link

Zahma commented Jul 25, 2017

Exactly me too i'm facing the same issue, the intensity doesn't change

@astridx
Copy link

astridx commented Aug 1, 2017

Yes, I have got the problem, too. I use it with leaflet 1.1.0

@hawthorner
Copy link

hawthorner commented Aug 11, 2017

Take the code from the pull request instead of master.

https://raw.githubusercontent.com/Harvinator/Leaflet.heat/dcf67f1aef555e0c214c2b6f904cf09a28d1c012/src/HeatLayer.js

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

No branches or pull requests

9 participants