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

feat: add configuration to default all image layers on or off #455

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

milesvdw
Copy link

@milesvdw milesvdw commented Aug 27, 2024

Pull Request Description

I would like to add a configuration that defaults all image layers visible on map startup. This is because I'm using image layers extensively to overlay real-world maps with fun historical maps for my games. It's really frustrating that every time I toggle between pages, all the image layers disappear, and I have to re-enable them one at a time. This will preserve the current functionality for users, but make my use case much more convenient (I imagine I'm not the only one using lots of layers!)

Changes Proposed

  • Add setting imageLayerDefaultOn (defaults to false)
  • When imageLayerDefaultOn is true, default all layers to selected on map startup

@valentine195
Copy link
Member

Can you make this a map parameter too?

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.

2 participants