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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.