Thank U
Drawing polygon in the following way and it is succcess.
I need to save polygon poins to DB . How can I get the polygin poins????
var symbol; toolbar.deactivate(); map.showZoomSlider(); map.enableMapNavigation(); switch (evt.geometry.type) { case "point": case "multipoint": symbol = new SimpleMarkerSymbol(); break; case "polyline": symbol = new SimpleLineSymbol(); break; default: symbol = new SimpleFillSymbol(); break; } var graphic = new Graphic(evt.geometry, symbol); map.graphics.add(graphic); |