AnsweredAssumed Answered

JavaScript - TOC layers callapse & expand

Question asked by shaningesri on Dec 12, 2014
Latest reply on Dec 12, 2014 by shaningesri

From the example: http://gmaps-utility-gis.googlecode.com/svn/tags/agsjs/latest/examples/toc.html ,

I added

    autoToggle: false  //whether to automatically collapse when turned off, and expand when turn on for groups layers. default true.

in the TOC layer's code.  However, in my application, this function does work. 

Besides, how to set the layer as checked-off initially in the TOC?

Thanks if you can help.

Outcomes