<div dir="ltr"><span name="fasiha" class="gmail-gD" style="font-size:12.8px">Fasiha</span><span style="font-size:12.8px;white-space:nowrap"> I used the following steps :</span><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">- open the qgs project (xxx.qgs file) in a text editor</span></div><div><span style="font-size:12.8px;white-space:nowrap">- find the layer definition (you can search for the URL you entered)</span><br></div><div><span style="font-size:12.8px;white-space:nowrap">- add &zmin=17&zmax=22 to the URL</span></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">There are probably ways to add the parameters directly in the layer definition in the brower, which is stored somewhere in QGIS preferences.</span></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">Bests,</span></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">Olivier</span></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-29 2:03 GMT+00:00 fasiha <span dir="ltr"><<a href="mailto:wuzzyview@gmail.com" target="_blank">wuzzyview@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">olivier wrote<br>
<span class="">> Awesome that will perfectly do until 3.0.<br>
<br>
</span>Olivier, could you elaborate just a bit on how to do this in 2.18? I’m a<br>
QGIS beginner, I can bring up the Python Console in QGIS, but then what<br>
function do I invoke that will create an XYZ tile layer where I can specify<br>
zmin/zmax?<br>
<br>
Thank you!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-native-XYZ-layers-zoom-level-tp5324030p5325931.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/QGIS-Developer-<wbr>native-XYZ-layers-zoom-level-<wbr>tp5324030p5325931.html</a><br>
Sent from the QGIS - Developer mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></blockquote></div><br></div>