AnsweredAssumed Answered

TOC - Collapsed all layers

Question asked by rhyck.m on Jan 7, 2015
Latest reply on Jan 30, 2015 by amarsden

is there a way to have all layers collapsed in TOC on first load?

 

I tried

toc = new TOC({

                 map: map,

                 layerInfos: [{

                     layer: layer,

                     title: "Title",

                     collapsed: true ....  Nothing,

 

I also tried republishing the service by having all layers collapsed but the widget did not cary that behavior.

Outcomes