Select to view content in your preferred language

Near Me Widget in Experience Builder and Arcade

313
2
2 weeks ago
TerrySteege
Emerging Contributor

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

 

0 Kudos
2 Replies
DanielFox1
Esri Regular Contributor

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.

TerrySteege
Emerging Contributor

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,

Terry

 

0 Kudos