By James England on Tuesday, 06 September 2016
Posted in General
Replies 14
Likes 0
Views 788
Votes 0
We have added google Maps key at easy social settings -> location services -> Google Maps API key.
But detect my location for address type field is not working.

map field page link
http://staging.certifiedprofessional.eu/index.php?option=com_easysocial&view=registration&layout=steps&step=1&Itemid=280
Hey there,

It looks like your subscription has expired and in order for you to continue requesting for support, you will need an active subscription. If you have already renewed, please let us know so that we can correct this for your account.

Thank you for understanding.
·
Tuesday, 06 September 2016 16:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please check it now ?
·
Friday, 09 September 2016 18:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You have to enable first your API key by following steps below
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

Then paste attached file to each path respectively
..\media\foundry\4.0\scripts\gmaps.js
..\media\foundry\4.0\libraries\closure.php
..\media\com_easysocial\scripts\site\locations\popbox.js

Please give it a try and see how it goes
·
Friday, 09 September 2016 19:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

We have tried your given steps but no luck.
I can see errors in the console and have attached the screenshot for the same.
·
Monday, 12 September 2016 14:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey James,

Can you provide us with your following details?
- Activate API key (Get from https://developers.google.com/maps/documentation/javascript/get-api-key )
- FTP access
·
Monday, 12 September 2016 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
You can include your FTP and activated API key at http://stackideas.com/dashboard/site
·
Monday, 12 September 2016 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

I have added FTP details in the ticket.
Here is activated MAP API key : AIzaSyAieR3mx4oYvAEDoCr4to6JWM7F39wXX18
·
Wednesday, 14 September 2016 13:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

I have made some modifications on your file. It works now . Please give it a try and see how it goes.
·
Wednesday, 14 September 2016 16:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Thank you for the update. I checked it, now auto suggest for locations is working but detect my location is not working.
You can check it here.
http://staging.certifiedprofessional.eu/index.php?option=com_easysocial&view=registration&layout=steps&step=1&Itemid=280

Also, can you provide us the file changes that you made.
·
Wednesday, 14 September 2016 17:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi htere,

I checked it, now auto suggest for locations is working but detect my location is not working.

Did you tested on Google Chrome? It seems that Google have made some modifications regarding this. You can refer https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-powerful-features-on-insecure-origins regarding this issues.

I also have done some testing using Google Chrome and Mozilla Firefox
google chrome
I hit this kind of error listed below
http://prntscr.com/chuhtf
"getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."

Mozilla Firefox
no error hit as shown http://prntscr.com/chui53
·
Wednesday, 14 September 2016 18:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Abdul,

Thank you for the information. Please provide file changes made by you.
·
Wednesday, 14 September 2016 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

Please provide file changes made by you.

I forgot already

I just made modification on this file
..\media\foundry\4.0\scripts\gmaps.js
..\media\foundry\4.0\libraries\closure.php
..\media\com_easysocial\scripts\site\locations\popbox.js
·
Wednesday, 14 September 2016 19:27
·
0 Likes
·
0 Votes
·
0 Comments
·
You now need an https connection as per Google API modification.
Localization and route are now considered both sensitive data , related to the privacy universe, and they must be transmitted over a secure connection only. It's mandatory.
·
Tuesday, 20 September 2016 17:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for sharing Joe
·
Tuesday, 20 September 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post