点开QGIS右侧三维坐标的瓦片图层(文件树XYZ Tiles这个选项),如果没有在线地图的话,右键XYZ Tiles新建连接,名称自己定义,url写入本文提供的一些在线地图地质,如:http://tile.openstreetmap.org/{z}/{x}/{y}.png点击确认,双击新添加的openstreetmap就可以显示出对应的地图。还有其他方法,比如利用QGIS的插件QuickMapServices,打开QGIS,在菜单Plugins中选择Manage and Install Plugins,搜索QuickMapServices,选中并点击Install,等待即可完成安装。如果按照完毕后发现底图没有很多,这是由于部分底图需要额外获取,解决方法:选择底部的Settings→More services→Get contributed pack,即可完成获取。
QGIS api key required
OpenTopoMap
https://tile.opentopomap.org/{z}/{x}/{y}.png
OpenStreetMap
http://tile.openstreetmap.org/{z}/{x}/{y}.png
Google Hybrid
https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}
Google Satellite
https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
Google Road
https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
Bing Aerial
http://ecn.t3.tiles.virtualearth.net/tiles/a{q}.jpeg?g=1
高德卫星影像
https://webst01.is.autonavi.com/appmaptile?style=6&x={x}&y={y}&z={z}
高德路网
https://wprd01.is.autonavi.com/appmaptile?x={x}&y={y}&z={z}&lang=zh_cn&size=1&scl=2&style=8<ype=11
Google Maps, https://mt1.google.com/vt/lyrs=r&x={x}&y={y}&z={z}
Google Terrain, https://mt1.google.com/vt/lyrs=t&x={x}&y={y}&z={z}
Google Roads, https://mt1.google.com/vt/lyrs=h&x={x}&y={y}&z={z}
Google Satellite https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}
Google Streets https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}
OpenStreetMap Mapnick http://tile.openstreetmap.org/{z}/{x}/{y}.png
OSM Cycle Map http://tile.thunderforest.com/cycle/{z}/{x}/{y}.png
OSM Black and White http://tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png
Esri Imagery/Satellite https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}
Esri Streets https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}
Esri Topo https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}
Carto Positron https://cartodb-basemaps-a.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png
Stamen Terrain http://a.tile.stamen.com/terrain/{z}/{x}/{y}.png