Use My Location Button

New home Forums Pro Add-on Use My Location Button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #77364
    mrad
    Participant

    Hi there, I’m having some issues with the “Use my Location” button in both the search bar and next to directions input fields. I’ve noticed that these fields only run the location script after changing tab in my browser and returning back to the page. When the map loads initially the user location marker renders in the correct position and distance from market listings appears correctly so the issue seems to be specific to these buttons.

    I unfortunately do that have links to share to help troubleshooting. I am using a minimal theme with no other plugins enabled. On a secure https:// website I still encounter the same issues. I see no errors logged to my console. When logging from the WPGMZA.getCurrentPosition, I can see that it only logs as soon as I go to a different browser tab.

    Let’s work together to resolve this~!

    #77365
    mrad
    Participant

    As I follow up, I noticed that if I put in an invalid location the map simply fully zooms out without an error.
    Console shows “Message.match is not a function” from within the WPGMZA.GoogleAPIErrorHandler.onErrorMessage function

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.