Hello!
I'm using the Arcade Intersects function to pull intersecting layer information and place it within a popup. I've come across a situation where multiple polygons (red border) from one layer intersect my main layer (yellow squares) and the popup only returns a single feature. Is it possible to pull the intersecting feature information where clicked on the map?
Example: The eastern side of the red line is zone 13 and the western side is zone 36. When clicked only the zone 13 information is populated within the popup. Is it possible to pull the information from the intersecting layer where clicked on the map?
Arcade Expression:
var intersectLayer = Intersects(FeatureSetByName($map,"Deer Management Zones"), $feature)
for (var f in intersectLayer){
return text(f.DMZ)
}$map
Thanks!
Is there a simple arcade example of the $userInput variable to pull values from a layer the click intersects.