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