Custom Popup Using Multiple Layers?

2425
2
07-03-2019 02:27 PM
JoanneStarr
New Contributor III

I am looking to see if there is an app or a way to query multiple layers and displaying on one pop up.

I want to be able to click anywhere on the map and have a popup that tells me the fire district, police district, closest address, and page number for a map book. It would have to use the lat/long and put all information in an very simple popup for emergency uses.

Is there any developer who has made such a tool yet?

Thanks

0 Kudos
2 Replies
MichaelKelly3
New Contributor III

You could use Arcade FeatureSets to get information from more than one layer within a single popup. More details here and here.

You simply configure a popup using Arcade for a single layer, perform some intersections, and then disable popups for the other layers in the Web Map.

Getting the X/Y point location may be more difficult, as the user will likely be clicking on a polygon layer from which you can only get the centroid meaning the X/Y will be for the center of the polygon.

LanceCole
MVP Regular Contributor