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

davidtrainer created an issue. See original summary.

jgottwig’s picture

Quick note to say that we are experiencing this issue too. I'll try and debug it and post here if I figure anything out.

jlsevillano’s picture

I 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

jlsevillano’s picture

Hi,

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.

AngusM’s picture

I had the same issue and have spent hours trying to pin it down....downgrade to 2.12 worked perfectly...thanks jssevillano!

Rolxxc’s picture

don't work for me..

davidtrainer’s picture

Status: Active » Fixed

Confirmed; downgrading to openlayers 2.12 resolved this issue.

Rolxxc’s picture

Ok.. the map appear, but you can uses behavior options.. without issues?

:(

leo pitt’s picture

I had the same "SensorNotRequired, RetiredVersion" issue. Downgrading to 2.12 also resolved this for me.

Anonymous’s picture

Title: Google Map Normal will not display on page load » Google Map Normal will not display on page load (SensorNotRequired, RetiredVersion error messages)
Category: Support request » Bug report
Status: Fixed » Active

This 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.

fjgarlin’s picture

Hi, 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.