AnsweredAssumed Answered

Measurement is meter square

Question asked by esri-new on Dec 12, 2017
Latest reply on Dec 13, 2017 by modybsystematics-co-il-esridist

Hello everyone.

 

In this sample code can I measure the area of the selected area as Meter square. It is given in acres .

 

var area = geometryEngine.geodesicArea(polygon, "acres");
if (area < 0) {
   var simplifiedPolygon = geometryEngine.simplify(polygon);
   if (simplifiedPolygon) {
      area = geometryEngine.geodesicArea(simplifiedPolygon, "acres");
   }
}

Outcomes