if the ‘Get my Position’ function does not work properly or gets the wrong location, then you need to check the following:
Are you on HTTPS / SSL? Because if no https is setup our plugin falls back to IP gelocatlion which is not as 100% accurate. With https enabled our plugin uses the native Browser HTML5 Gelocalation.
Unfortunately it is not possible to use the HTML5 Gelocation without HTTPS due to browser restrictions.
Chrome: https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only
Firefox: https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/Using_geolocation
Hello,
We love the dealer locator! Although, the “GET POSITION” button on the back-end (when adding a location) is not functioning. Additional message: “Oops! Something went wrong.
This page didn’t load Google Maps correctly. See the JavaScript console for technical details.”
Is this a result of the HTTPS / SSL mentioned above? I assume having this button functional will improve the input efficiency; rather than hunting for the longitude and latitude manually.
Any insight or assistance would be greatly appreciated!
-CHRIS STACK
What error do you get in the browser console?