I was using Google Maps with OpenLayers plugin in QGIS with my vector layer with projection EPSG:4326 with google map projection EPSG:3857 and "on the fly" transformation enabled.

It was matching all the vector layer with Google Maps but now it's not working.

How can I reproject Google Maps so that it matches with my vector layer as before?

  • Project CRS should be set to EPSG:3857, not 3785.
    – AndreJ
    Commented Nov 21, 2014 at 6:09
  • sorry by mistake i typed ..it was in EPSG:3857 only Commented Nov 21, 2014 at 6:23
  • That should work, unless you zoom in too far. Does Openstreetmap or bing background via the plugin fit?
    – AndreJ
    Commented Nov 21, 2014 at 6:36
  • Yes Opensteetmap and others maps fit....bt google street map...or any other google plugin is not fitting ...... :( Commented Nov 21, 2014 at 6:39
  • What scale is reported by QGIS? See also this bug ticket: hub.qgis.org/issues/6822
    – AndreJ
    Commented Nov 21, 2014 at 7:10

4 Answers 4


Trying to find a solution, I've changed OpenLayers.js file, provided by plugin authors (which had 'Release 2.11' version in his body and was placed at ~/.qgis2/python/plugins/openlayers_plugin/weblayers/html folder in my system) to last 2.13.1 version from official OpenLayers site (pay attention, 2.+ version!).

Just download the archive, extract to temporary folder and copy OpenLayers.js (750+ Kb) to where the same file exists in QGIS plugin folder (I think it will be C:\Users\<UserName>\.qgis2\python\plugins\openlayers_plugin\weblayers\html\ in Windows system).

In my case problem was solved.

  • This hasn't helped the situation for me, in fact it made the offset greater.
    – Gregory
    Commented Jul 3, 2017 at 22:54

Maybe this is a different workaround than you are thinking, but when I have had issues with the Google Maps plugin I reprojected my data into EPSG:3857 and then did all my work there, then I reprojected it back to the original projection once I finished.

I've also realised when working with the plugin that sometimes the projection renders a little wonky and I just have to move the map around or scroll in or out and then my data matches up again.


See also https://gis.stackexchange.com/a/42141/8210

The problems with the Openlayers plugin and the print composer last for years now, without a solution. As a consequence, try to avoid the Openlayers plugin when you need a print output. A new plugin, QuickMapServices, has been developed in the meantime. I suggest to try that.

Using the QuickMapServices plugin has worked for me, and just as easy to use.


I don't think you can reproject Google Maps data. I know I never could.

Just reproject your own vector layer to the coordinate system Google Maps uses.

  • As @herb said, the Google Map tiles use a projection of EPSG:3857.
    – Gregory
    Commented Jul 7, 2017 at 11:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.