I have a map that has been working fine for a while, but recently started having a problem. Google Maps Normal is set as the default layer, but it does not appear, leaving the controls and map points sitting there on a big blank space.
The normal map can be made to appear by using the layer switcher to select Google Maps Hybrid or Satellite, and then switching back to Normal.
This behavior happens in both Chrome and Firefox.
Updating to openlayers 7.x-2.0-beta11 has no effect.
http://maps.google.com/maps-api-v3/api/js/22/15/util.js displays the following warning in the js console: SensorNotRequired, RetiredVersion: https://developers.google.com/maps/documentation/javascript/error-messages
Comments
Comment #2
jgottwig commentedQuick note to say that we are experiencing this issue too. I'll try and debug it and post here if I figure anything out.
Comment #3
jlsevillano commentedI have the same problem, but only in a drupal+openlayers 7.x-2.0-beta9, because in the same website i have another map, outside of drupal (pure code) and it runs ok.
You can see the problem:
http://www.micocyl.es/areas/montes-de-zamora
And the running map:
http://www.micocyl.es/micodata
jgottwig, have you find any solution?
Thanks
Comment #4
jlsevillano commentedHi,
I fixed or now is running.
Before i was using the 2.13 Openlayers library, after i did downgrade to 2.12 openlayers library now is running.
Comment #5
AngusM commentedI had the same issue and have spent hours trying to pin it down....downgrade to 2.12 worked perfectly...thanks jssevillano!
Comment #6
Rolxxc commenteddon't work for me..
Comment #7
davidtrainer commentedConfirmed; downgrading to openlayers 2.12 resolved this issue.
Comment #8
Rolxxc commentedOk.. the map appear, but you can uses behavior options.. without issues?
:(
Comment #9
leo pitt commentedI had the same "SensorNotRequired, RetiredVersion" issue. Downgrading to 2.12 also resolved this for me.
Comment #10
Anonymous (not verified) commentedThis should still be active since rolling back to a previous version is not a real 'fix'.
It appears Google may have changed their map API. I'm also seeing this problem. Openlayers 2.13 has been working for quite some time, but now it exhibits this behavior. It may be an issue that the Openlayers library maintainers need to fix, but at the very least if that's the case & 2.13 will no longer work properly, there needs to be notice of that in this module's requirements documentation.
Comment #11
fjgarlin commentedHi, please see this other open issue and patch: https://www.drupal.org/project/openlayers/issues/2759431#comment-11690915
It fixes the warnings and the other patch is RTBC already, so hopefully it'll make it to the next release.