I am looking to get the location where the user clicked to get a pop-up. My goal is to get the features that intersect that xy location and return stats in the pop-up.
@RussRoberts @EmilyGeo @bbollin
@MK13 I think $UserInput would work here https://developers.arcgis.com/arcade/profiles/popup/
Exactly what I was looking for. Thanks!
@JakeSkinner Unfortunately that wouldn't work because I need the information to be shown in a pop-up as each feature is clicked. Basically, when the user clicks on a feature, I would show specific attributes of the clicked feature plus information about other features that intersect the clicked point. That would be my workflow.
@MK13 have you considered using the Near Me widget. I think this will give you the functionality you're looking for.
https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/near-me-widget.htm
@JakeSkinner Thanks for the link. Unfortunately in the article they show how to get features that intersect the clicked feature. I am looking to get features that intersect a clicked point. The clicked feature might intersect way more features than the clicked point within that same feature.
So specifically for this line: Intersects(feat, Buffer($feature, 1)), instead of $feature I would hope to use the clicked point.
@MK13 this article may be of some help:
https://support.esri.com/en-us/knowledge-base/how-to-display-attributes-of-intersecting-features-in-a-000028227
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.