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

MaxOpacity #124

Open
Ryllau opened this issue May 9, 2022 · 2 comments
Open

MaxOpacity #124

Ryllau opened this issue May 9, 2022 · 2 comments

Comments

@Ryllau
Copy link

Ryllau commented May 9, 2022

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

@Utrehd
Copy link

Utrehd commented Dec 15, 2022

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.

@MongoCaleb
Copy link

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

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

3 participants