Select to view content in your preferred language

Set visibility of a layer when app opens to off

718
2
Jump to solution
07-17-2019 05:09 AM
MarquesMunson1
Regular Contributor

Is there a way that I can set the initial visibility of a layer on the layerlist widget to off when the application loads? Then the user can choose to turn the layer on, if needed. I am in the configs LayerList json file. I believe that is where the adjustment is made but I am not exactly sure what to put. Any help is greatly appreciated! Thanks!

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

You can turn off the visibility of the layer in the original web map.

View solution in original post

0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor

You can turn off the visibility of the layer in the original web map.

0 Kudos
MarquesMunson1
Regular Contributor

thanks so much! I thought there had to be some type of code to write.

0 Kudos