Select to view content in your preferred language

Get clicked pop-up location arcade

1293
6
Jump to solution
09-23-2024 06:16 PM
MK13
by
Frequent Contributor

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 

0 Kudos
1 Solution

Accepted Solutions
bbollin
Esri Contributor
0 Kudos
6 Replies
JakeSkinner
Esri Esteemed Contributor
MK13
by
Frequent Contributor

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

0 Kudos
JakeSkinner
Esri Esteemed Contributor

@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

0 Kudos
MK13
by
Frequent Contributor

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

0 Kudos
bbollin
Esri Contributor

@MK13 I think $UserInput would work here
https://developers.arcgis.com/arcade/profiles/popup/

bbollin_0-1727211264096.png

 

0 Kudos
MK13
by
Frequent Contributor

Exactly what I was looking for. Thanks!