Change the default baselayer without changing the layer order
the user can't change the default base layer. now the default base layer is the first base layer in the base layers tree, so the can't sort the base layers...
Versions :
- Lizmap Web Client : 3.7.4
- Lizmap plugin : 4.2.6
- QGIS Desktop : 3.28.15
- QGIS Server : 3.28.15
- Py-QGIS-Server : not used
- QGIS Server plugin atlasprint : 3.3.2
- QGIS Server plugin lizmap_server : 2.8.4
- QGIS Server plugin wfsOutputExtension : 1.8.0
List of safeguards :
- Mode : normal
- Allow parent folder : no
- Prevent other drive : no
- Prevent PG service : no
- Prevent PG Auth DB : no
- Force PG user&pass : no
- Prevent ECW : no
You mean you don't change the first layer in group baselayers ? Why ?
qgis desktop (base layers order):
lwc (the first base layer in the tree from qgis desktop is the default base layer (Google Terrain):
if the user want to order in alphabetical order the base layers, like: Google Hybrid Google Satellite Google Terrain OpenStreetMap OpenTopoMap
the firt base layer in alphabetical order from qgis desktop is the default base layer on lwc (Google Hybrid)
Edited
So you want in LWC, the content of the drop down menu to be :
- Google Hybrid
- Google Satellite
- Google Terrain ← Default layer when landing on LWC landing page
- OpenStreetMap
- OpenTopoMap
Correct ? To have a custom order in the dropdown menu, but to have a custom default layer when landing on LWC ?
@Gustry perfect! IMMO this is what should be expected
IMMO this is what should be expected
It's not a bug for now, but a feature request.
For me too, before we were able to select the default baselayer, independently from the order! Even if it was a request, in my opinion it is a regression.
in my opinion it is a regression
this is a feature present in version 3.6
Don't know, but on 3.5, I was able to select the default baselayer! So, not to be able to do that on 3.7, it is a regression!
I agree. Hence the suggestion to also control the active baselayers via the QGIS themes (see https://github.com/3liz/lizmap-web-client/issues/4501)