does anyone know how to end the edit mode?
private function deactivateEditor():void { myMap.infoWindow.hide(); myEditor.templatePicker.clearSelection(); myEditor.templatePicker.height = 0; myEditor.featureLayers = null; myEditor.map = null; myEditor.drawTool.deactivate(); myEditor.editTool.deactivate(); }
<s:VGroup id="VG1" width="328" height="100%"> public var myEditor:Editor = new Editor(); myEditor.map = this.parentApplication.mainMap; myEditor.setStyle("skinClass",EditorSkin); myEditor.featureLayers = [ this.parentApplication.featurelayer]; VG1.addElement(myEditor);
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.