By ManySelfies on Monday, 05 September 2016
Posted in Technical Issues
Likes 0
Views 511
Votes 0
How do I enable the maps?
I registered the key API, I enabled on the back-end and does not provide nor shows the map with the address.
Hi there,

It seems that this is known issues on our end. This is because after Google have made some modification/upgrade, our components need to use their google maps API key in order to use location. And on our end also, have to make some modifications to use this feature.

Have you enabled your API key and which key did you use? You have to enabled it first and use server key.
If not, can you follow steps below to ensure you enable/activate your API key:
1. Go to this page -> https://console.developers.google.com/iam-admin/projects
2. Create project and check my video here : http://screencast.com/t/xnfoJH8vx
3. This is the page for activate the APIs key -> https://developers.google.com/maps/documentation/javascript/get-api-key

You can try to replace attached file into path below:
...\media\com_easysocial\scripts\site\locations\popbox.js
...\media\foundry\4.0\scripts\gmaps.js
...\media\foundry\4.0\libraries\closure.php

If the problems still persist or need our help, can you provide us with your valid FTP, backend and Google maps account access?
Note: If you change your API key, you have to make modification on popbox.js and gmaps.js under 'key' tag.


//gmaps.js
parameters.push('key=*new API key'); line 1570

if (window.google && window.google.maps){
window[callbackId]();
} else {
// Load google maps api
$.require()
.script($.uri(window.location).protocol() + "://maps.google.com/maps/api/js?key=*new API key&sensor=true&callback=" + callbackId + "&language=" + language) line 2058
.done();
}

//popbox.js
url = "//maps.googleapis.com/maps/api/staticmap?*new API key&size=400x200&sensor=true&zoom=15¢er=" + lat + "," + lng + "&markers=" + lat + "," + lng + "&language=" + language; line 12
·
Tuesday, 06 September 2016 10:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, thanks for the feedback.
It didn't work,
How do I send the access with security for you?
SFTP and Google
·
Saturday, 10 September 2016 00:08
·
0 Likes
·
0 Votes
·
0 Comments
·
You can add your sftp details at http://stackideas.com/dashboard/site, keep us update once you done.
·
Saturday, 10 September 2016 10:40
·
0 Likes
·
0 Votes
·
0 Comments
·
follow the step informed

I've changed the files
I recreated the API key
Insert local us informed the new key

still persisting the error.

thanks.
·
Saturday, 10 September 2016 21:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

I've help you re-create a new Google Maps API key and activated it, it should work correctly now, can you give it a check now?
·
Sunday, 11 September 2016 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
It's working correctly now

Thanks for the service.
·
Monday, 12 September 2016 05:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Monday, 12 September 2016 11:29
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post