I want to perform these operations to my geometry when I select it- Move/Scale/Rotate.
I don't see any methods that sketch editor is providing to achieve this.
Also, I want to draw circle, rectangle, triangle shapes, I don't see the EditorMode corresponding to this.
I see the JavaScript SDK has these features provided, does Android run time lack these features !
Yes, the sketch geometry can be moved, but not scaled or rotated
- predefined geometry types, such as Rectangle, Circle, and Triangle under consideration! Thanks
Can I draw these pro grammatically, any samples !
Sketch geometry created by freehand should be movable, but vertexes are not editable. You can convert the geometry to JSON string, then start sketch editor with the geometry as input (converted back from Json). Or you can append a point (x, y) programmatically to the current sketch.
thanks Chang, can I draw the circle/triangle/rectangle geometries using sketch editor or any other tool or by custom samples?
would Android SDK provide support for these geometries in future ?
thanks Chang,
I drew the geometry programmatically for Rectangle, Circle, Triangle, it draws on the map,but not sure if it would be edited. I believe sketch editor should automatically detect vertices and provide edit capability.
If you draw the geometries by polygon, it should be editable. if it is drawn by freehand, they are not editable
I added the freehand polyline, freehand polygon and looks like it allows to edit via sketch editor...