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 layer/group order to share-map params #2135

Open
mulfvik opened this issue Feb 10, 2025 · 1 comment
Open

Add layer/group order to share-map params #2135

mulfvik opened this issue Feb 10, 2025 · 1 comment
Labels
PR accepted Anyone can write a PR for this issue

Comments

@mulfvik
Copy link
Contributor

mulfvik commented Feb 10, 2025

It would be nice if layer and group order in legend together with map zindex being saved in share-map

@tonnyandersson tonnyandersson added the PR accepted Anyone can write a PR for this issue label Feb 11, 2025
@MattiasSp
Copy link
Contributor

Some things to take into account:

  • The solution should be opt-in so that the current behaviour is kept.
  • May be best to focus on the "storeMethod": "saveStateToServer" mode, as the URL could become quite unwieldy.
  • It would be good to not include the layer order if the user hasn't changed the default order.
  • It would be preferrable if the configuration is made as general as possible to extend to all types of user states.
  • A future extension could create a checkbox user interface letting the user choose what types of user states to include in the URL/mapstate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR accepted Anyone can write a PR for this issue
Projects
None yet
Development

No branches or pull requests

3 participants