editFeatureLayer.addEventListener(FeatureLayerEvent.EDITS_COMPLETE, editFeatureLayer_editsCompleteHandler); editFeatureLayer.applyEdits([ lastDrawnGraphic ], null, null); private function editFeatureLayer_editsCompleteHandler(event:FeatureLayerEvent):void { // You can also check if the edit was a success editFeatureLayer.refresh(); }
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.