Has anyone ever tried to collect the user selected Lat and Long from the Near Me Widget for use in Arcade? I would like to use the selected data to build a string. ie.
$feature.esriCT......
Thank you in advance for any help.
Terry
Hi @TerrySteege
At the moment I don't think this is possible to collect the user selected Lat/Long from the Near Me Widget. A workaround could be to use a click event that creates a point feature in a temporary layer, then that feature can store Lat/Long as attributes. Then using the Arcade to build your string from $feature.Latitude and $feature.Longitude
The Arcade runs in the context of the feature or layer rather than the widget.
Hello @DanielFox1
Thank you very much, I will try that.
I was able to get the Near Me distance value so I thought maybe the Lat Long would be captured as well.
I appreciate your help,
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.