Tagged: Google Maps API
-
AuthorPosts
-
September 5, 2018 at 7:19 am #1005894
Hi,
I need help with Google Maps API problems. I have used new APIs, enabled Geocoding API, Geolocation API, Maps Embed, Maps JavaScript API,
Maps Static API, added snippet of script on the header (which came out as another error of multiple of the same APIs), added billing details and it is still not showing properly.Any ideas?
September 5, 2018 at 9:05 am #1005921Hey tradefaire,
Thanks for the details, though your site is not loading on my end. Maybe there is a spelling mistake somewhere?
Best regards,
RikardSeptember 6, 2018 at 1:13 am #1006377This reply has been marked as private.September 6, 2018 at 7:27 am #1006477Hi,
Thanks for the update.
These are the errors in the console.
util.js:224 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys Ww.j @ util.js:224 util.js:224 Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
The API key is there but I think its deprecated. Please generate a new API key.
If you are loading Maps JavaScript API from the deprecated v2 path with an old v2 key, you will get the NoApiKeys warning, even if you specified the key parameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3.
Best regards,
IsmaelSeptember 10, 2018 at 6:49 am #1007770Hi there,
I have generated API keys few times and tested them but none worked. Could you point me to a direction on how to get this problem sorted?
September 11, 2018 at 3:43 am #1008144Hi,
Did you add any modifications to the theme? It’s still loading the old map script. Please try to manually update the theme again via FTP.
// https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp
Best regards,
IsmaelSeptember 24, 2018 at 6:08 am #1013487Hi Ismael,
I have manually updated the theme. The problem still persists. How can I tell if the site still loads old or new map script?
Thanks
September 24, 2018 at 3:53 pm #1013676Hi,
This is the error in the console.
// https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
NoApiKeys Warning
The script element that loads the API has no API key. Please make sure you include a valid API key as a key parameter. You can generate a new API key on the Google Cloud Platform Console.
See Get an API key.If you are loading Maps JavaScript API from the deprecated v2 path with an old v2 key, you will get the NoApiKeys warning, even if you specified the key parameter. Please check the v2 to v3 upgrade guide and migrate your application to Maps JavaScript API v3.
Please try to follow this guide.
// https://developers.google.com/maps/documentation/javascript/v2tov3
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.