Raster tiles in XYZ format are now natively supported within WMS data providers, allowing users to display basemaps from other sources without requiring third-party plugins like QuickMapServices or OpenLayers anymore.
This feature was developed by Martin Dobias (Lutra Consulting)
http://changelog.qgis.org/en/qgis/version/2.18.0/#native-support-of-xyz-tile-layers
http://tile.stamen.com/toner//{z}/{x}/{y}.png
http://tile.stamen.com/terrain/{z}/{x}/{y}.png
http://a.basemaps.cartocdn.com/dark_all//{z}/{x}/{y}.png
http://a.basemaps.cartocdn.com/light_all//{z}/{x}/{y}.png
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
https://qms.nextgis.com/about
Se questo video ti è stato utile e vuoi contribuire a mantenerlo attivo, clicca qui:
If this video was useful to you and want to help keep it active, please click here:
https://www.paypal.me/pigrecoinfinito
per QGIS 3.0:
https://pigrecoinfinito.wordpress.com/2018/03/11/qgis-3-0-e-le-mappe-di-sfondo/