Leaflet/Leaflet.heat

MaxOpacity

Ryllau opened this issue · 2 comments

Would it be possible to implement a maximum opacity so that I can still see the map beneath if the intensity is high?

What helped me ist the following

.leaflet-heatmap-layer {
opacity: .5;
}

sets the opacity of the whole layer. What i miss is that the opacity also varies based on weighting.

The maxOpacity seems to do nothing, but @Utrehd's solution is solid.