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

Add "disabled" class for out-of-zoom-range groups #494

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gmerciel
Copy link

@gmerciel gmerciel commented Mar 8, 2023

Add "disabled" class for both group and regular layers

gmerciel added 2 commits March 6, 2023 19:48
Created a function that checks if a layer is visible on the current map view resolution and zoom level.
Moved this check to the top since it is applicable to both groups and regular layers.
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

Successfully merging this pull request may close these issues.

1 participant