Turn on/ off specific layers in Experience Builder when switching views

5939
12
08-18-2020 05:55 AM
Status: Open
AFackler_NAPSG
Occasional Contributor

In StoryMaps (Specifically the tabbed storymap), there is a function that allows you to decide which layers turn on/off depending what tab you are in while maintaining the same map extent. It would be helpful to have this same functionality in Experience Builder when switching between views. An example of our work that we would like to port to Experience Builder can be found here (Be sure to go to the hazard exposure pages to see the tabbed story map): https://napsg.maps.arcgis.com/apps/MapJournal/index.html?appid=261d020c1ec941618e6f338dd127d566 . Notice how the extent stays the same but layers turn on/off depending on what tab you are in. This functionality would cut down on development time and maintenance time would be largely reduced because we won't have to maintain as many web maps.

12 Comments
JohnNergeBrooklynPark

@D_AnneHammond I assume that would require the layer list widget to be include on the page though? I think the ultimate goal here is still to be able to control layer visibility directly on the map widget.

Thomas1

@Jianxia This turn on/off the layers, all layers will still be present in the layer list.  But how can we hide some layers, in a way that those "hidden" layers won't appear in the layer list for a given map?