This sample demonstrates how to use EditOverlay to draw and edit shapes on the map. The EditOverlay is used to contain the features which you want to edit at the client side. All the features in this Overlay will be converted to client shapes. Of course, the new shapes you draw on the map will enter the EditOverlay after postback.

Try to click buttons below to draw different shapes at client.

Try to click the button below to delete the previous shape you have drew.

Try to click the button below to save the new shapes to the server.

Try to click the button below to convert the server shapes to the client shapes for editing.