Map API
Map won't load, and in console it says api key not valid. Where do I supply this in the code?
Hi @simsanderson, you will find that the HTML is incluinding the google apis script on the address http://www.google.com/jsapi, just change it to http://www.google.com/jsapi?key=YOU_KEY_HERE.
Hello @esganzerla and @simsanderson and @geirke I have made this change to http://www.google.com/jsapi?key=YOU_KEY_HERE and double checked my api key does have billing enabled (it does) but I am still getting the issue "This page can't load Google Maps correctly." and the map is all gray squares saying for development purposes only.
Please help!
@lyndon-penson jsapi is method of loading Google Maps is deprecated. Your JavaScript console probably has this warning:
Loading Maps API with the jsapi loader is deprecated.
From the docs:
If you are loading Maps JavaScript API from the deprecated v2 path, you will get the
NoApiKeyswarning, even if you specified thekeyparameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3.