... 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"); } } ...
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.