The layers sidebar options allow to specify options available for the Layers sidebar.
Here you can define Currently, you can define a lockedLayers array in which you
can provide an array of ids for the layers for which visibility should not be modifieable
using the sidebar.
Example
Customizing the layers sidebar to align icons to the right
The layers sidebar options allow to specify options available for the Layers sidebar.
Here you can define Currently, you can define a
lockedLayersarray in which you can provide an array ofids for the layers for which visibility should not be modifieable using the sidebar.Example
Customizing the layers sidebar to align icons to the right
See
ViewState#sidebarOptions