toc.openItems = toc.dataProvider.source; for each(var item:TocMapLayerItem in toc.openItems) { if (item.isTopLevel()) //toc.expandChildrenOf(item, true); toc.expandItem(item,true,true,true,null); }
A list of layer objects and/or layer IDs to exclude from the TOC.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.