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);
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.