Arcade - Click on a map and see all layers at that location

333
3
08-25-2021 03:21 PM
Labels (1)
DeborahDAVID
New Contributor II

Hi,

I would like to identify at a location (on click on map) and it returns information of all polygones layers at this point in a pop-up layer with Arcade. Is it possible ?

I've seen the widget screening that does this. But I find that it is not very ergonomic and also the interface is full of things I don't want.

Thank you for your help

0 Kudos
3 Replies
BrittanyBurson
Regular Contributor

Hi @DeborahDAVID 

Have you tried doing this using the FeatureSetBy Arcade functions? (assuming you are using ArcGIS Online or Enterprise 10.8.1+) Basically you create an attribute via expression on a "main" layer and it will return results from the other map layers.

https://community.esri.com/t5/arcgis-online-documents/using-featuresetby-functions-in-arcade-to-dril...

0 Kudos
DeborahDAVID
New Contributor II

Hi @BrittanyBurson 

Thank you for your answer. I'm using ArcGis Online. I've tried this solution but it doesn't correspond to my need. This function does an intersect with polygons. My problem is that a want to know, to a location, which polygons are under. If I intersect my main polygon, I have also polygons that are on the side of my point identification.

 

NB : Thanks to the url you have done me, I know now how to excludes the polygons which have a matching boundary 😊

0 Kudos
BrittanyBurson
Regular Contributor

I see! Maybe the Instant App "Zone Lookup" will help you in this case. https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-zone-lookup/

Good luck!

0 Kudos