Hello
I have created a Arcade expression to look if a point intersects a polygon and return the name of the polygon within the pop up if if finds anything, if not it will return private land.
The code is below.
var fs = FeatureSetByName($map,"United Kingdom LSOA Boundaries 2019")
var int = First(Intersects($feature, fs))
If (int == Null) {
return "Private Land"
} else {
return Proper(int.NAME, 'everyword')
}
The question is how can i check other polygon layers at the same time to find the name of the polygon? I am thinking along the lines of IF ELSE THEN
So test the first polygon, if the point is within that return the name, if not test the second polygon layer and if the point is intersecting with that, then return the name. If there is no intersection then return Private Land...
Thanks for any help.