This sample shows how you can use a draw toolbar to sketch many kinds of geometries on the map. This toolbar is included with the ArcGIS JavaScript API. The toolbar is not a user interface component that you automatically see on the page. Instead, it’s a helper class that you can use to let people sketch geometries on the map. It saves you the effort of writing the code for sketching each geometry type. You just activate the type of geometry you want people to sketch. In this example, each HTML button activates a different geometry type. When you click for example the ‘Point’ button, the toolbar activates the point geometry. Alternatively you could allow people to choose the geometry type from a dropdown list, a set of radio buttons, or some other control. In this example, the toolbar’s ‘onDrawEnd’ event ensures that you see something on the map when you finish sketching a feature. The addGraphic function sets the appropriate symbol for the geometry type. In this example, the symbol is taken from a dropdown list. Each item of the list is a symbol defined on one line. Source. Here you can find a full bse of Vector Maps of England in Adobe Illustrator.”

whatsapp button