Automatically turn on layers if used in Group filter widget

421
1
04-19-2021 08:57 AM
Labels (2)
by Anonymous User
Not applicable

 

Hi,

Is there a way to automatically turn on layers in the layer list only if they are used in the group filter widget? I have a lot of boundary layers that I don't want to all be visible at the same time. 

I'm using WAB Developer version 2.16

For clarification, here is the link to the current app: https://ags.coverlab.org/vzmaps/

 

 

Tags (1)
0 Kudos
1 Reply
by Anonymous User
Not applicable

It would be ideal if I could figure out the action that would allow this functionality within the group filter widget, but I did discover a work-around. Though, it does have some limitations.

Within the web map, if I filter the boundaries to be 'blank', I can then choose the option in the app's group filter 'Append any expressions to existing map filter'.  This will turn the layers on only when I use the group filter. The only drawback to this solution is that users will not be able to turn on these layers without using the group filter. 

calipper_0-1618941120904.png

calipper_1-1618941175425.png