[OpenLayers-Users] Uncaught typeerror: Cannot read property 'style' of undefined in OpenLayers 2.12 using Google maps

Stephen W. Boyd sboydlns at gmail.com
Thu Jun 9 12:24:51 PDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20160609/7f67bd79/attachment.html>


More information about the Users mailing list