Select to view content in your preferred language

Drop down or radio button for selecting single shapefile layer

509
4
10-22-2023 10:54 PM
krog-iep
New Contributor

Is it possible to create an Experience Builder app with a single map consisting of multiple shapefile layers, where the user can ONLY select to view ONE layer at a time?

I would like to have radio buttons or a drop-down menu that determines layer visibility rather than tick-boxes in the map layers widget.

0 Kudos
4 Replies
JasonBOCQUET
Occasional Contributor III

Maybe use the Bookmark widget ? you set a bookmark for each layer you want the user to see in your application. 

0 Kudos
KenBuja
MVP Esteemed Contributor

You can create a web map where there is only one layer visible at a time and use that in your app. Take a look at this blog that shows how to do it.

0 Kudos
JeffreyThompson2
MVP Regular Contributor

Neat. Can the layers within the groups also be group layers? It would be a pretty elegant way of turning on and off sets of layers together.

GIS Developer
City of Arlington, Texas
0 Kudos
AngelaSchirck
Occasional Contributor III

You might be able to make a dashboard with a drop-down menu and then embed it in EB.  I'm not sure if this will work for separate layers, I've only used it to filter a single layer, but worth a look-see.

0 Kudos