AnsweredAssumed Answered

WAB - custom active / visible layers

Question asked by on Jan 12, 2017
Latest reply on Jan 15, 2017 by



Does anyone have a code snippet to show an example of how can I switch on a group of layers programmatically in an app when it starts? based on the fact that I know if this group of layers (or just one layer) actually exist in the webmap of course..


I want to try create a "custom group view" of visible layers for users, so I need to start with a simple example of programmatically show a specific layer which I know it exists in the app.