Skip to content

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

Open
gmerciel wants to merge 2 commits intowalkermatt:mainfrom
gmerciel:group-disabled
Open

Add "disabled" class for out-of-zoom-range groups#494
gmerciel wants to merge 2 commits intowalkermatt:mainfrom
gmerciel:group-disabled

Conversation

@gmerciel
Copy link
Copy Markdown

@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