You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When activating a preset with a background layer, for example: "?m=map_1&x=148000&y=6398900&z=3&l=1,2,3&clean=false" where id: 3 is a background layer, the background layer is not activated.
The maplink works as expected when opening it in the browser.
To Reproduce
Create a maplink with the anchor-plugin (make sure to create a link with a background layer different from the default one)
Add the maplink to the preset-control
Click the preset
Check if the background layer is changed
Proposed solution
It seems like we are ignoring base layers when toggling which layers to show, see image below:
The solution would be to handle the base layers as well, not just filter them from the array of layers to show....
The text was updated successfully, but these errors were encountered:
When activating a preset with a background layer, for example: "?m=map_1&x=148000&y=6398900&z=3&l=1,2,3&clean=false" where id: 3 is a background layer, the background layer is not activated.
The maplink works as expected when opening it in the browser.
To Reproduce
Proposed solution
It seems like we are ignoring base layers when toggling which layers to show, see image below:
The solution would be to handle the base layers as well, not just filter them from the array of layers to show....
The text was updated successfully, but these errors were encountered: