Hi guys,

if I don't get wrong Tile Layers are QgsRasterLayers objects.

Is there any method to grab from the loaded raster layer in the legend
the same url that is used to create the Tile in the Browser?

rl.source() gives the full url

'crs=EPSG:3857&format&type=xyz&url=http://a.tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0'

Thanks for any hint

Matteo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to