Hi,
Using the ArcGIS js API v4.25, I am having difficulty figuring out how to set a layer list items toggle to be turned off by default.
Any guidance would be appreciated.
Thanks in advance.
If you set the layer's visible property to false, it will be toggled off in the Layer List.
Thanks Ken!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.