I moved the site from a development server to the production server and everything is working fine, except Google Maps from the SO Bundle. The map on this page, for example (though all maps on the site are doing the same)
is throwing this JS error:
API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js?v=3.exp&callback=soGoogleMapInitialize:35(anonymous function) @ common.js:51(anonymous function) @ common.js:189c @ common.js:45(anonymous function) @ AuthenticationService.Authenticate?1shttp%3A%2F%2Fwww.weinackersmontessori.com%2Flake-forest-locatiā¦:1
util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
I’ve tried the following:
– delete the entire row, update, then put in a new row with the Google Maps widget and exact settings from before, which are the default settings but the zoom set to 15.
– I updated the bundle from 1.5.11 to 1.6
– I deactivated and deleted 1.6 and put back 1.5.11
– I’ve updated PB to 2.4.9
I still have the development server running and the maps are showing just fine.
I did have FTP issues while uploading the site to production – dropped files – but I reloaded the entire set of site files prior to discovering this Google Maps issue.
Hi George,
This is due to a Google update that requires API keys to be used from now on. For more information please refer to this post.
Awkwardly, we weren’t aware of this change as it literally happened on the same day we released 1.6. Basically, to resolve this issue you’re going to have to add a Google Maps API key to your SiteOrigin Google Maps widget. In the next version, which should hopefully be released in a day or two, we’re looking to enforce the API key requirement. :(
Very sorry about this but it’s sadly out of our control.
Only took a couple of minutes to get my Google Maps API – and it’s going to work for any site.
Found that I had to update SO Widgets back to 1.6, and now everything works like a charm.
Thanks so much, Alex!
And if I may add in a feature request for down the road – maybe be able to enter our Google Maps key once somewhere, and then only have to enter a key for a particular map if it needs it’s own.
Count this as a request from a lazy person :-)
Hi George,
Yeah, that’s something we’ve seen the need for also now. :( I’m going to log this as a proper feature request and it should hopefully be introduced in a future version – it’s very unlikely it will be introduced in the next version as it’s a bugfix version. :(
Hi,
we have the same problem with google.
When there is an update available ?
Joerg
Hi JiPO,
This isn’t something we can fix as it’s a Google enforced requirement. You simply need to input an API key for your SiteOrigin Google Maps widget and it’ll work 100% as desired. To create an API key please navigate to this page and press the blue “Get a Key” button and follow the prompts.
The following error we receive:
This API project is not authorized to use this API. Please ensure that this API is activated in the APIs Console: https://console.developers.google.com/apis/library?project=_ Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/geocoding_backend?project=_ For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
Hi,
have done this last weekend – generated a key ….
have placed the Key at the plugin / at the map – but the failure is still there !
Hi JiPO,
Have you followed the steps outlined by Google to authorize (via the developers console) your API key for your website? It’s sadly not a simple one click process. :( This sadly isn’t something I can help you with as it’s dependent purely on your API settings (which is independent of our widget).
Thx – will try later ;-)