Skip to content

Bug: Ignore activeLayers from config when printing#341

Open
giovanniborella wants to merge 1 commit intomapcentia:masterfrom
giovanniborella:ignore-activelayers-on-print
Open

Bug: Ignore activeLayers from config when printing#341
giovanniborella wants to merge 1 commit intomapcentia:masterfrom
giovanniborella:ignore-activelayers-on-print

Conversation

@giovanniborella
Copy link
Contributor

@giovanniborella giovanniborella commented May 22, 2025

When setting activeLayers in config, Vidi always reloads the layers - even when printing. this behaviour is not expected.

The snippet ignores activeLayers from the config file, but keeps the activeLayers from state - resulting in a print as expected.

Let me know if you would rather have this as a new config value with a default.

i have deployed the fix here:
https://test-mapgovidi.geopartner.dk/app/e2e/?config=/api/v2/configuration/e2e/configuration_activelayers_682d8809e0ffd095304449.json

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