Joseph, You would have to look into changing updateAttributesEnabled to false after the editsComplete event is fired from the FeatureLayer (I don't have any specifics for you just this idea of where I would begin to look).
private function newCommentHandler():void { myEditor.updateAttributesEnabled = true; myEditor.deleteEnabled = true; }
private function stopEditsHandler():void { myEditor.updateAttributesEnabled = false; sidewalkComments.selectedFeatures.valueOf(); bikelaneComments.selectedFeatures.valueOf(); myEditor.deleteEnabled = false; }
<esri:FeatureLayer id="sidewalkComments" mode="snapshot" outFields="[Comment, entered]" visible="false" url="http://...." click="stopEditsHandler()"/> <esri:FeatureLayer id="bikelaneComments" mode="snapshot" visible="false" outFields="[Comment, entered]" url=http://...." click="stopEditsHandler()"/>
<!-- Not a geometry service --> <geometryservice> http://175.41.137.150/ArcGIS/rest/services/Invisible_Landscapes_edits/FeatureServer </geometryservice> <!-- sample geometry service --> <geometryservice> http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer </geometryservice>
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.