This sample demonstrates how to interactively sketch and edit graphics in the map view and display them in a graphics overlay. You can sketch a variety of geometry types and undo or redo operations.
- Click the 'Sketch' button.
- Choose a sketch type from the drop down list.
- Click the 'Draw' button and click in the map view to create the sketch.
- While sketching, you can undo/redo operations.
- Click 'Done' to finish the sketch.
- To edit a graphic, click 'Draw/Edit', then 'Edit'. Select a graphic in the map to start editing.
- Make edits then click 'Done' to finish editing.