Select to view content in your preferred language

Activating a layer when a widget is turned on (and vice versa)

4103
1
Jump to solution
06-06-2016 02:42 AM
MarcusChui
New Contributor

Hello everyone,

I was hoping to seek some advice on whether it is possible to activate a particular layer whenever a particular widget is turned on. (and vice versa)

Sample Use Case:

Turning on the "Swipe" widget in Web AppBuilder would automatically turn on a specific layer, thus allowing the user to experience the "Swipe" widget in action without having to activate specific layers beforehand in the "Layer List" widget. This specific layer should be turned off whenever the user leaves the "Swipe" widget.

Any help/advice would be greatly appreciated. Thanks!

Regards,

Marcus

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Marcus,

  Here is a thread that answers you question:

Make layer visible after LayerList widget has opened

This thread may also help:

Webapp Builder Layer List Widget

View solution in original post

1 Reply
RobertScheitlin__GISP
MVP Emeritus

Marcus,

  Here is a thread that answers you question:

Make layer visible after LayerList widget has opened

This thread may also help:

Webapp Builder Layer List Widget