... historic.addEventListener(LayerEvent.UPDATE_END, onHistoricUpdateEnd); ... protected function onHistoricUpdateEnd(event:LayerEvent):void { if (event.updateSuccess) { trace("layer 'historic' update success"); var historicGraphicProvider:ArrayCollection = historic.graphicProvider as ArrayCollection; if (historicGraphicProvider && historicGraphicProvider.length > 0) { trace(historicGraphicProvider.length + " features found"); featureset = new FeatureSet(historicGraphicProvider.toArray()); ... } } else { trace("layer 'historic' update not success"); } } ...
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.