Skip to content

Instantly share code, notes, and snippets.

@rma92
Created August 20, 2023 03:12
Show Gist options
  • Save rma92/c2518917833c75f1b509a3697081e724 to your computer and use it in GitHub Desktop.
Save rma92/c2518917833c75f1b509a3697081e724 to your computer and use it in GitHub Desktop.
Google Maps Layers in QGIS
The Google Maps layers can be added using the XYZ tiles functionality.
Create a new XYZ Tiles connection, and use the following URLs:
Roadmap
http://mt0.google.com/vt/lyrs=m&hl=en&x={x}&y={y}&z={z}
Terrain
http://mt0.google.com/vt/lyrs=p&hl=en&x={x}&y={y}&z={z}
Altered roadmap
http://mt0.google.com/vt/lyrs=r&hl=en&x={x}&y={y}&z={z}
Satellite only
http://mt0.google.com/vt/lyrs=s&hl=en&x={x}&y={y}&z={z}
Terrain only
http://mt0.google.com/vt/lyrs=t&hl=en&x={x}&y={y}&z={z}
Hybrid
http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}
Note that if you change a URL in the XYZ Tiles in the Browser, you'll need to re-add the layer to the project to see the changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment