Tagged: Google, Google API, maps, yigit
-
AuthorPosts
-
July 12, 2018 at 12:03 am #984394
Hello,
The Google Maps API key is not working
Followed your directions here closely (see Google API screenshot below)
http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/I have regenerated the key and attempted again
There are no restrictions on the API
“Application restrictions: None API restrictions: None”A credit card was added to the Google account successfully and a 12-month trial has begun
We are not over our quota
Plugins were disabled, the problem persists
There are no country blocks on our website by our hosting provider.
I found a workaround just now: You will see the correct map on the page below because I manually entered the latitude and longitude GPS coordinates I found on this page http://www.gpskoordinaten.de. However, as stated above we cannot fetch coordinates for an address as the API key is not accepted in the Enfold Child Theme Options.
Would you mind checking the console messages and the functions.php to see if anything is floating around in there? I would still like the Google Map Content Element to fetch coordinates correctly on our site.
Thank you,
Jasmer
July 12, 2018 at 11:17 am #984621Hey Jasmer,
Best regards,
VictoriaJuly 12, 2018 at 10:47 pm #984905Clearly, from my description above, and the screenshot I sent you, the API was created correctly AND the key cannot be added to the Enfold Google Services. So I’ll ask the same question again with TWO NEW screenshots in the private section below.
I saved the API key this time, but the error is still present so it does not matter if it is saved or not, it does not function. There are no restrictions on this API key as stated below. PLEASE re-read the below. Thank you
Hello,
The Google Maps API key is not working
Followed your directions here closely (see Google API screenshot below)
http://kriesi.at/documentation/enfold/how-to-register-a-google-maps-api-key/I have regenerated the key and attempted again
There are no restrictions on the API
“Application restrictions: None API restrictions: None”A credit card was added to the Google account successfully and a 12-month trial has begun
We are not over our quota
Plugins were disabled, the problem persists
There are no country blocks on our website by our hosting provider.
I found a workaround just now: You will see the correct map on the page below because I manually entered the latitude and longitude GPS coordinates I found on this page http://www.gpskoordinaten.de. However, as stated above we cannot fetch coordinates for an address as the API key is not accepted in the Enfold Child Theme Options.
Would you mind checking the console messages and the functions.php to see if anything is floating around in there? I would still like the Google Map Content Element to fetch coordinates correctly on our site.
Thank you,
Jasmer
July 16, 2018 at 4:27 am #985824Hi,
Thank you for the info.
I get this error when I try to authenticate the API key.
Geocoding Service: This API project is not authorized to use this API. For more information on authentication and Google Maps JavaScript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key
Did you disable the Geocoding Services API in the google console’s API manager? Please try to enable it back and then go back to the theme’s Google Services panel to validate the API key.
Best regards,
IsmaelJuly 17, 2018 at 10:12 pm #986670Hi Ismael,
I did not disable this API. It was disabled by default. The Google help article on this is not exact and I had to do some searching around to even find this API. It is not in the list they say it is in.
Please add this to your help article “Geocoding Services API may now be disabled by default. To enable Geocoding Services please see the Google help article. https://developers.google.com/maps/documentation/javascript/geocoding”
Thanks so much for your help. Issue resolved.
The easy 30-second workaround to Google’s confusing menu system is to put the coordinates in manually by searching with this tool.
https://www.latlong.netThanks, close topic!
July 18, 2018 at 3:14 am #986728Hi,
Glad it is finally fixed! Thanks for the update. We’ll include that in the documentation.
Best regards,
IsmaelAugust 5, 2021 at 4:56 am #1314561Jasmer. Thank you for figuring out the problem (with Ismael). I have struggled for 2 days on this problem.
Getting a Google Map API is more complicated than Enfold’s tutorial. Here is my steps for those who are trying for the first time.There are 3 primary things to do:
• You must first have a billing method for Google. This is a paid service. Go to https://console.cloud.google.com/flows/enableapi . In the top left “hamburger” menu, select Billing. Here is where you would set up billing. IMPORTANT: you need to wait for the billing method to be confirmed before anything works. This can take up to 3 days. A notice to your registered email will say when it is confirmed.
• The next step is to create a Project. In https://console.cloud.google.com/apis/dashboard (or choose APIs & Services from menu) choose or create your Project from “My Project” in the dropdown menu at the top.
• Once in your new Project Dashboard, select Credentials in the left. Choose one or create one.
• Then you follow the instructions https://kriesi.at/documentation/enfold/google-map/#how-to-register-a-google-maps-api-key. Which are:
o Name: give your project a logical name, e.g.: API Key DOWW 2021
o Application restrictions: None
o API restrictions: Don’t restrict key
o Save.
• There is still one more thing to do (that is NOT mentioned in most instructions). There is more on this here: https://developers.google.com/maps/documentation/javascript/geocoding.
o Enable Geocoding. In your Project Dashboard (above) look for Geocoding API (way at the bottom of the page)
o Select the button: Geocoding API
o Click EnableThen everything should work.
August 6, 2021 at 12:53 pm #1314843Hi laptophobo,
Thanks for sharing your detailed instructions, it’s much appreciated :-)
Best regards,
RikardJuly 5, 2023 at 10:33 am #1412491I am having the same issue now for months :-(
Nothing works any more, when in fact it all used to work well.
July 5, 2023 at 12:04 pm #1412499 -
AuthorPosts
- You must be logged in to reply to this topic.