• Resolved aryxus

    (@aryxus)


    We unchecked ‘Attempt to auto-locate the user’ in the settings, but IE is still reporting to user that the site “wants to track your physical location.”

    Is there anything we can do to get this to stop happening? It looks like we’re trying to spy on the users, when all we want is to show them a map of locations.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter aryxus

    (@aryxus)

    I checked console, and getCurrentPosition() is trying to run on pages with maps. This is actually happening on Chrome as well, but Chrome only allows getCurrentPosition() to run on secure pages, so there’s no pop-up asking the user for instructions. We don’t want getCurrentPosition() to be attempted, and it shouldn’t be if we’ve turned off ‘Attempt to auto-locate the user,’ right?

    Plugin Author Tijmen Smit

    (@tijmensmit)

    Can you check this with all other plugins disabled, and also switch back to a default theme?

    If you disable the ‘Attempt to auto-locate the user’, then it shouldn’t ask, but maybe another plugin tries to do the same thing.

    If you’re using a caching plugin, then make sure to flush the cache as well.

    Thread Starter aryxus

    (@aryxus)

    Yes, we disabled all plugins and tried a different theme as part of our initial troubleshooting. We’re not running a cache (as it’s a development site), and we tried on a fresh browser, AND we’re seeing the same result using Crossbrowsertesting.com.

    It’s definitely your plugin, as the Chrome console points to your script as being the culprit:
    wpsl-gmap.min.js?ver=2.2.12:1 [Deprecation] 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.

    Screenshot: https://dev.pugetsoundorthopaedics.com/wpsl-error.png

    This proves that your script is attempting to call getCurrentPosition(), even though “Attempt to auto-locate the user” is unchecked.

    This will be extremely easy for you to confirm. Just uncheck the box and load a page with a map in Microsoft Edge or IE and you’ll see the question pop up.

    Thread Starter aryxus

    (@aryxus)

    I’ve just gone live with the site, and it’s SSL protected. Now, when using Chrome or Firefox, I’m asked to allow location access (again, even though I have that option turned off). If I allow access, the map stops working altogether. It shows my local area, but none of the stores I’ve added, and it says “No results found.”

    https://www.pugetsoundorthopaedics.com/

    Thread Starter aryxus

    (@aryxus)

    (The second issue, where no results were found, I fixed by changing the search radius options to default to 50. Not sure why setting “Auto adjust the zoom level to make sure all markers are visible” wouldn’t make it work. Having the default be so large isn’t optimal.)

    Plugin Author Tijmen Smit

    (@tijmensmit)

    ‘This will be extremely easy for you to confirm. Just uncheck the box and load a page with a map in Microsoft Edge or IE and you’ll see the question pop up.’

    Problem is that I don’t see it when I test it on my local host in IE, or on the demo page. Does it ask the question for you on the demo page in IE?

    ‘Auto adjust the zoom level to make sure all markers are visible’

    This means once search results are found, the zoom level is adjusted to make sure all the markers fit on the viewport.

    You enabled the option to auto load the locations, and set the start location near the store locations?

    Thread Starter aryxus

    (@aryxus)

    Would it be possible for you to share a screenshot of all the settings you’re using for the demo page? I do not get the location question on your demo page, but do still get it on our page (again, even with all other plugins disabled). I’d like to set all of my settings to duplicate yours, just as a baseline. Thanks!

    Thread Starter aryxus

    (@aryxus)

    GAH. A user had entered ‘auto_locate=”true”‘ into a shortcode on the front page. I didn’t realize it was possible to override site settings in the shortcode. I changed this to ‘false’ and it works fine now.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Turned off ‘auto-locate’ but IE still asking to track physical location’ is closed to new replies.