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!
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.