-
AuthorPosts
-
March 28, 2017 at 8:06 pm #768409
Hello, I’ve gone through your tutorial on how to activate the API key for a new website. Unfortunately, I continue to get the error notification and the Google Map does not allow “fetching” of coordinates.
March 28, 2017 at 10:12 pm #768471Hey ikaika72,
1. Please get your API Key: https://developers.google.com/maps/documentation/javascript/get-api-key#key
2. Then add following code to functions.php file of your child theme in Appearance > Editor
function gmaps_workaround(){ ?> <!--Google Maps JavaScript API --> <script src="https://maps.googleapis.com/maps/api/js?key=XXX" type="text/javascript"></script> <?php } add_action('wp_footer', 'gmaps_workaround');please make sure to replace XXX in the code with your key
Best regards,
John TorvikMarch 29, 2017 at 1:41 am #768536Ok, is it any different if I’m not using a child theme? where exactly should i paste that info in the function.php? please know i am not a programmer :)
March 29, 2017 at 7:40 am #768627Hi,
I checked your site and there is a message from the google maps.
In concole it say’s Google Maps API error: DeletedApiProjectMapError
Please try the new API key in Enfold > Google Services > API Key
Best regards,
VinayMarch 29, 2017 at 7:47 am #768632Hi Vinay, thanks for your help. Will you please explain this more…I’m not sure I’m understanding what I need to do. Are you saying I need to create a new API Key and then enter it in API key in Enfold > Google Services > API Key?
If not, will you please clarify. Thank you.
March 31, 2017 at 6:58 am #769738Hello?
April 1, 2017 at 9:57 am #770264Hi,
Sorry for the late reply. Did you try the API key that Vinay posted and did you have any luck with it? If not then please post admin login details in private so that we can have a closer look.
Best regards,
RikardApril 1, 2017 at 3:23 pm #770330Hi Rikard,
My mistake, I didn’t see the New API Key that Vinay shared. That did the trick. Thank you!
April 1, 2017 at 10:52 pm #770446 -
AuthorPosts
- The topic ‘Google Maps with API key not working’ is closed to new replies.
