Discussion:
Uncaught typeerror: Cannot read property 'style' of undefined in OpenLayers 2.12 using Google maps
(too old to reply)
Stephen W. Boyd
2016-06-09 19:24:51 UTC
Permalink
Suddenly I am getting:

Uncaught typeerror: Cannot read property 'style' of undefined in
OpenLayers.js Line 1063 when using Google maps. I don't get the error
when using OpenStreetMaps. I am using OpenLayers 2.12 and Chromium.

After the error reported above I am also getting:

Google Maps API warning; NoAPiKeys
Google Maps API warning: SensorNotRequired
Google Maps API warning: Retired version.

Since my code has not changed in a year or more I can only assume that
something has changed in Google maps.

Has anyone else come across this error and found a solution?




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Loading...