<div dir="ltr">Hi Andreas,<div><br></div><div>Thank you very much for your reply and help.</div><div><br></div><div>I appreciate it.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 31, 2021 at 1:17 PM Andreas Neumann <<a href="mailto:a.neumann@carto.net">a.neumann@carto.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Hi Julierme,</p>
<p>It is the client that requests a certain layer order, not the server. Unless you request a group layer/top level layer.</p>
<p>You find the information on the initial layer order in the GetProjectSettings response: <a href="https://docs.qgis.org/3.16/en/docs/server_manual/services.html#server-wms-getprojectsettings" target="_blank">https://docs.qgis.org/3.16/en/docs/server_manual/services.html#server-wms-getprojectsettings</a></p>
<p>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.</p>
<p>Hope this helps,</p>
<p>Andreas</p>
<p id="gmail-m_-6185293330888090245reply-intro">On 2021-03-31 18:07, 1520 gis wrote:</p>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="gmail-m_-6185293330888090245replybody1">
<div>
<div dir="ltr">Hi developers,
<div> </div>
<div>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?</div>
<div> </div>
<div>Kind regards</div>
<div> </div>
<div>Julierme</div>
<div> </div>
<div> </div>
</div>
</div>
</div>
<br>
<div style="margin:0px;padding:0px;font-family:monospace">_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noopener noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br></p>

</div>
</blockquote></div>