AnsweredAssumed Answered

Get Polygon Ring

Question asked by meenu.monu on Oct 6, 2015
Latest reply on Oct 6, 2015 by rscheitlin

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);

Outcomes