By André Eidskrem on Thursday, 03 November 2016
Posted in General Issues
Likes 0
Views 200
Votes 0
When we press "detect my location" the little wheel in the tight corner is just spinning and spinning.
Have tried on different computers in different countries and with different browsers. The browsers are set to allow location to be detected.
If I enter an address manually, the popup-window is blank when you point on this location.
Using Googles Static Maps API (also tried with no API)
Solved it!

In Developer Tools we found the following:
site-2.0.2.min.js:471
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.

We set up a SSL certificate for the site, and location is now working in Chrome.
·
Thursday, 03 November 2016 18:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

It seems that we hit this error "The Google Maps API server rejected your request. The provided API key is invalid" as shown http://prntscr.com/d2gqbs while trying to get locations on your site. We suspect that your google api key is not activated or invalid. Can you please try steps below and see how it goes.

- Go to this page -> https://console.developers.google.com/iam-admin/projects
- Create project and check my video here : http://screencast.com/t/xnfoJH8vx
- This is the page for activate the APIs key -> https://developers.google.com/maps/documentation/javascript/get-api-key

OR you wanted us to create a new google api key for you? Please advice.
·
Thursday, 03 November 2016 15:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Now we got it to work in IE, firefox, and edge but not in Chrome. Cleared cache in both the browser and joomla, and made sure that the settings allows for detecting location, but the problem is the same.
Can you please check this in Chrome?
·
Thursday, 03 November 2016 16:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Andre,

I am really sorry for the delay of this reply. Yes this is a known issue with Chrome where the site must have SSL certificate in order for detect location to work correctly. Nevertheless glad to hear that your issue has been resolved now.
·
Thursday, 03 November 2016 18:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post