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);
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.