Hi Julierme,
It is the client that requests a certain layer order, not the server.
Unless you request a group layer/top level layer.
You find the information on the initial layer order in the
GetProjectSettings response:
https://docs.qgis.org/3.16/en/docs/server_manual/services.html#server-wms-getprojectsettings
The information of the GetProjectSettings response can be parsed by the
client and used to generate an appropriate GetMap request with the
correct layer order.
Hope this helps,
Andreas
On 2021-03-31 18:07, 1520 gis wrote:
Hi developers,
I have tried to change the QGIS-Server layer order using QGIS Desktop
Layers Panel and L.TileLayer.WMS (Leaflet) zIndex options. None of them
could change the layer order. It seems that QGIS-Server always serves
from bottom to Top: raster images, polygons, lines and points by
default. Is there any way to change these settings?
Kind regards
Julierme
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user