private function expandAll(item:TocItem):void { item.collapsed = false; expandChildrenOf(item, true); if(item.isGroupLayer()){ for each (var item2:TocItem in item.children){ expandAll(item2); } } }
//if(_expanded) expandItem(tocItem, true, true, false, null); if(_expanded) expandAll(tocItem);
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.