Select to view content in your preferred language

Interactive Legend Selecting

631
1
08-21-2024 05:55 AM
Labels (1)
Jacob_Crocker
Occasional Contributor

Hello, 

I am using the interactive map and am new to Instant Apps. I currently have several layers that all default to selected, which is great, but I'm wondering if there is a way to add a deselect all button to the app. Right now, you have to go and deselect all of the layers one by one. 

 

Link to the app: https://dentontxgis.maps.arcgis.com/apps/instant/interactivelegend/index.html?appid=ac5b3d3ad14a4132...

 

Thanks,

Jacob

1 Reply
HunterSlingbaum
New Contributor

Did you ever sort out what to do with this issue? I am having a similar problem, where I would either like a "Deselect All" button or have the option to deselect all but one layer by default on launch while still keeping the other layers visible in the legend (turning off visibility on the Web Map fully removes them from the legend). As it stands, a user would have to manually deselect nearly a dozen overlapping layers on launch to start messing around with the map, which is really tedious. 

0 Kudos