yup, I borrowed the code from it, but its doing something rather funny, perhaps you might know what it is,
I am able to edit the graphic (only able to edit vertices, the move, rotate, and scale options do not work),
I am using something along these lines (same as eDraw widget)
editorActivateGeometryEdit : function (graphic) {
if (!graphic)
this.editorActivateSnapping(false);
if (!graphic && this._editorConfig["editToolbar"]) {
this._editorConfig["editToolbar"].deactivate();
return;
}
var tool = 0 | Edit.MOVE;
if (graphic.geometry.type != "point")
tool = tool | Edit.EDIT_VERTICES | Edit.SCALE | Edit.ROTATE;
var options = {
allowAddVertices : true,
allowDeleteVertices : true,
uniformScaling : true
};
this._editorConfig["editToolbar"].activate(tool, graphic, options);
},
but I am not able to actually rotate, move or scale, only move vertices,
probably something stupidly simple.
thanks for the help, let me know