AnsweredAssumed Answered

Dynamically create layer list example

Question asked by nathalieneagle on May 9, 2012
Latest reply on May 11, 2012 by DSwingley-esristaff
I'm using the create Dynamically create layer list example in my application:
http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_dynamiclayerlist.html

It works O.K. but it is not respecting my layer rest setting Default Visibility.  When I published my msd I had several layers turned off and if I check the rest of these layers I can see the Default Visibility is set to False (Default Visibility: False).

All my layers are checked and drawing and i don't want this.  I want to have it respect my Default Visibility settings or at the very least hard code a few layers to not draw on initial load.

Am I missing something???

Thanks
Nathalie

Outcomes