Select to view content in your preferred language

Custom Popup Using Multiple Layers?

2900
2
07-03-2019 02:27 PM
JoanneStarr
Occasional Contributor

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

2 Replies
MichaelKelly3
Occasional Contributor

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