I have a problem with OpenLayers and Google maps: on this page:


I'm loading Google maps TERRAIN with Openlayers.js, everything worked well for about 1 year, but now the terrain map is not loading as basemap. I mean, if I try to change layer (using the "tematismi" button on the right and then selecting for example "SAT" and then again "Rilievi"(=Terrain), the Terrain map loads correctly.

I've googled a lot, I thought it was a Google maps update problem, but I still couldn't find anything.


1 Answer 1


You could just use a different version of google-maps-api, for example


Example: http://jsfiddle.net/expedio/sodserrw/

The same example with your Google-API address (https://maps.googleapis.com/maps/api/js ) is also not working:


EDIT1: In the meantime this solution does not work anymore. But the OpenLayers developer updated the OpenLayers.js ( http://dev.openlayers.org/OpenLayers.js ), so it works again with the url http://maps.google.com/maps/api/js?v=3&sensor=false


  • this solution is not working anymore..
    – AlexGreg
    Nov 18, 2015 at 14:41
  • 1
    added update above
    – Thomas B
    Dec 8, 2015 at 20:39

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.