Add Google Maps to QGIS 3

If you use QGIS version 3, you have the ability to add Google Maps layers to your map.  The Google Maps layers are really Tile Map Services (TMS).  The following is an example showing how to add Google Maps to QGIS.

Once you open a project in QGIS, in the Browser window to the left, scroll down to XYZ Tiles.


Right click on XYZ Tiles and choose New Connection.


In the XYZ Connection window, enter a name, like Google Maps, and then enter the URL “{x}&y={y}&z={z}”.  Also set the Max Zoom Level to 19.


Click the OK button, and Google Maps is added to your XYZ Tiles list.


Now double click on Google Maps or drag & drop it and you will see it in your map area!  Here I zoomed into the LA area.


If you prefer the satellite image or other images, here is a list of Google Maps layers that you can add to QGIS:

Google Maps:{x}&y={y}&z={z}
Google Satellite:{x}&y={y}&z={z}
Google Satellite Hybrid:{x}&y={y}&z={z}
Google Terrain:{x}&y={y}&z={z}
Google Roads:{x}&y={y}&z={z}

Enjoy!  -mike

3 thoughts on “Add Google Maps to QGIS 3

  1. How can you get QGIS to keep the same tile resolution/zoom so that when a map is exported as a JPG the labeling and fonts don’t go down to microscopic size?

  2. I think I found something to make it work, but wish there was a better way. I set the Zoom minimum and maximum both to 11 in the XYZ connection options and I can now read the labeling on my exported JPG of a 1:250,000 scale 6.5″x6.5″ map.

    It would be nice to know why the map appears one way in the Layout and looks different once saved. . . .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s