• Resolved samsleight94

    (@samsleight94)


    Hi, I hope someone can help me out…

    We want our users to be able to use their current location when selecting where they would like directions from. Now, although we have the ‘Show User’s Location’ option checked and the button is appearing on the front end, it never successfully finds the location. After clicking on the button (on a mobile device or computer) it just says ‘Getting your current location address…’ in the text box. It doesn’t achieve anything, it is just forever ‘getting’ the location address.

    I have included a link to a page on our website that I have set up as an example so that you can see what I have described above:
    https://brooksandkirk.co.uk/assessor/london-draft/

    Can somebody please advise on any possible fixes for this? It is really important for the purpose of our maps that users are able to use their current location.

    Help would be much appreciated!!

    Kind regards,
    Sam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sam,

    Unfortunately 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.

    I hope this helps

    Thread Starter samsleight94

    (@samsleight94)

    Hi Patricia,

    Thank you for your reply!

    That has worked! We have got a security certificate for the site, we just have to force it to load on a HTTPS connection. When i forced that page to load on a HTTPS connection it worked.

    Thanks again!

    Sam

    I’m glad I could help. Please let us know if you have any further questions or concerns and thank you for being a WP Google Maps user.

    If you have a few minutes to spare we’d greatly appreciate it if you could review WP Google Maps at www.ads-software.com.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘‘Show User’s Location’ Option isn’t working properly’ is closed to new replies.