I'm trying to edit an extent graphic using the EditTool and I'm getting the following error.
activeEditToolbars(evt) {
if (this.editingEnabled) {
this.editingEnabled = false;
this.edittoolbar.deactivate();
}
else {
this.editingEnabled = true;
this.edittoolbar.activate(Edit.EDIT_VERTICES|Edit.MOVE, evt.graphic);
}
}
Uncaught Error: [esri.toolbars.Edit::activate] Unable to activate the tool. Check if the tool is valid for the given geometry type.