Having found this blog post by @AzizaParveen1 I have configured an Experience to only use the users current location in the Near Me widget. However, it doesn't work if the widget is closed and then re-opened. I have the trigger set up on the map as described in the blog post and sometimes it works the first time the Near Me button is pressed, but it never works if you close the Near Me window then press the button again. Configuration of the map shown below:
Configuration of the Near Me widget shown below:
This is what happens the first time I open the Experience, press the 'Find my location' button on the map, then press the Near Me button:
If I close the Near Me panel, press the 'Find my location' button again, then press the Near Me button again, nothing is returned, it doesn't even show the 'no results found message':
I don't understand what I'm doing wrong. This is surely a very basic use case for the Near Me widget?
If I enable the pin as an 'input', the Near Me widget works fine if I move the pin around the map. But if I press the 'find my location' button on the map then press the Near Me button, I get the same behaviour as above and no results are returned. This is surely a bug? But I'd be interested to know if anyone else has got this working since the most recent AGOL update? And I'd love to know if you have any comments on this @AzizaParveen1?