Intensity Wise Gradient is not working
toton6868 opened this issue · 1 comments
toton6868 commented
I have a highest intensity of 1.0 and lowest 0.0. When I am drawing a heatmap in the highest zoom its all are showing the same color. I have plotted the value over the heat color. Here you can see what I am getting in the attached Image. Here is the code I am using. Seems like Intensity is not working and using all value as same.
var heatmap = L.heatLayer(allHeats, {
radius: 20,
max: 1.0,
blur: 15,
gradient: {
0.0: 'green',
0.5: 'yellow',
1.0: 'red'
},
minOpacity: 0.7
}).addTo(map);