Hello all I want to draw a POLYGON on the map with length in miles or Km is this possible
You can in API 3.17 with the Draw toolbar - Draw | API Reference | ArcGIS API for JavaScript 3.17
Then use the geometryEngine (esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript 3.17 ) to calculate the area and perimeter with your selection of units (Possible Values: acres | ares | hectares | square-feet | square-meters | square-yards | square-kilometers | square-miles)
thank you dear for your response but what I want is while drawing polygon show the marker length as a tooltip express the distance between two points while drawing
if your answer solve this issue please can provide sample code