Hide specific layers in Layers Widget as default

456
3
05-15-2020 06:21 AM
JamesSaunders
New Contributor II

I'd like to have four layers available to the end user of my app, but I only want two of the layers to show when starting up the app.  At the moment all four of them show up whenever I open/edit the web app.  How can I get two of them to be hidden automatically?

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

James,

   The layerList widget has a "Choose which layers will be shown on the list" in the widgets settings dialog.

JamesSaunders
New Contributor II

Hey Robert

This does not solve my problem since if I uncheck two of the layers in the widgets settings, they are no longer available to the end user.

I discovered that if I go back to the web map upon which the app is build, and uncheck the two layers in the contents pain, then all four layers will be available to the end user from the layers widget drop down, but only two of them will show when the app is opened.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

OK. I thought that you were asking how to remove the layers for the layerlist widget so that the user could not interact with them.

0 Kudos