-
AuthorPosts
-
May 8, 2017 at 2:23 pm #789603
Hallo,
ich habe Enfold mit eine Google API für javascript Maps verbunden. Leider funktioniert die Adressüberprüfung nicht und wirft immer einen Fehler aus. Wenn ich den Standort mit Längen- und Breitengraden eintrage, wird die Karte mit Marker korrekt angezeigt. Das werte ich als Zeichen, dass der API Key läuft. Aber warum funktionert der Button “Adresse eingeben, dann Koordinaten eingeben” nicht?, wenn die Karte unter Eingabe von Längen- und Breitengraden läuft?
VG Thorsten
May 8, 2017 at 2:26 pm #789604Hey hyperbrand,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
Best regards,
NikkoMay 9, 2017 at 11:54 am #790179hi, here are the credentials.
best,
thorstenMay 9, 2017 at 12:35 pm #790208Hi,
Thanks for providing the admin access. I have checked your contact page and google map seems to be working fine, I checked both backend and frontend, there are no errors. Can you give us steps on how we can reproduce the error?
Best regards,
NikkoMay 9, 2017 at 1:00 pm #790223Hi,
did you use the “verify address” button in the edit address dialog? It doesn’t work in retrieving the entered address and throws out an error.
Best,
ThorstenMay 9, 2017 at 2:32 pm #790287Hi Thorsten,
I see, I have checked it and it shows this error in the console:
This API project is not authorized to use this API. 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
I have tested out your API key and it seems that’s the problem since I can use my api key without any issue but when your api key is applied it shows the same error that appears on your end. Try to check this post: https://www.wpgmaps.com/documentation/how-to-generate-a-google-maps-geocoding-api-key/ if that doesn’t work try to create a new api key.
Best regards,
NikkoMay 9, 2017 at 2:52 pm #790309Hi Nikko,
thank your for checking. I think my mistake was that I only activated the Google Maps JavaScript API and not the API for geo coding. Fetching the data works now. Never activated the geo coding API for any other project before. so I thought I did everything right on the API set up. Thanks for clarfiying this.
Thank you very much.
ThorstenMay 9, 2017 at 3:00 pm #790323Hi Thorsten,
You’re very much welcome, glad that we could help. Thanks for using Enfold :)
Best regards,
NikkoJune 29, 2018 at 10:12 pm #979477This reply has been marked as private.June 30, 2018 at 9:39 am #979570Hi,
Did you set up a google maps platform account? Ohterwise the API key won’t work. Please don’t forget to configure your billing account ( https://cloud.google.com/maps-platform/ ).
Best regards,
DudeJune 30, 2018 at 11:00 am #979575hey
yes i have but still doesn’t work please help me
July 2, 2018 at 9:00 am #980007Hi dith_solanki,
Have you tried to enable the necessary Google Maps API in the API Library like Google Maps JavaScript API, Geocoding API, etc.
Hope this helps.Best regards,
NikkoJuly 2, 2018 at 9:22 am #980016Hey nikko i have tired but noting works please help
July 2, 2018 at 9:30 am #980022hey nikko it seems to be working now thank you for your help
July 2, 2018 at 9:58 am #980031Hi dith_solanki,
Glad that we could help :)
Feel free to comeback if you need further assistance.
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Google Maps API’ is closed to new replies.