qgis / qwc2-demo-app

QWC2 demo application
Other
243 stars 155 forks source link

Background layers: No active at start #497

Closed Ssalsa closed 1 year ago

Ssalsa commented 1 year ago

Using the latest build i always get "No background" as default background when opening the map. I have a couple of background layers that work fine and i can switch between them but setting "visibility": true seems to do nothing.

Same issue using the example map packaged with the app.

manisandro commented 1 year ago

Please post your themesConfig.json

sweco-seiawc commented 1 year ago

I get this behaviour even with no settings changed after installing as a standard viewer as described in https://qwc-services.github.io/QuickStart/#running-qwc2-as-a-standalone-viewer So themesconfig.json is same as https://github.com/qgis/qwc2-demo-app/blob/master/themesConfig.json

manisandro commented 1 year ago

This was indeed a regression, fixed in https://github.com/qgis/qwc2/commit/31d5d956ac0d88d4982b4b6e2d1eac3c1247dd77. Thanks for reporting!