The Measurement widget allows the user to measure the area of a polygon, length of a line, or find the coordinates of a point.
If the map's coordinate system is not Web Mercator or geographic, or if complex polygons are drawn, the Measurement widget needs to use the geometry service to project or simplify geometries.
You may notice the difference in buffer operation from the Near Me widget. This is because the Near me widget uses Euclidean buffer (Planar) by default and has an option to choose Geodesic buffer. The Measurement, however, defaults to Geodesic buffer without options.
Configure the Measurement widget
The Measurement widget can be set to open automatically when apps start. To do so, click the dot on the widget to turn it dark green.
Click the edit icon on the widget to open the configuration properties.
The Default Area Unit parameter allows you to configure the pre-selected unit of measure for polygon measurements. Options are:
- Sq Miles
- Sq Kilometers
- Sq Yards
- Sq Feet
- Sq Meters
The Default Length Unit parameter allows you to configure the pre-selected unit of measure for line/polyline measurements. Options are:
- Nautical Miles
Click OK to close the dialog box when finished.
Use the Measurement widget
Click the widget icon to open the Measurement widget.
Click the point measurement icon and click a point on the map. The Measurement widget displays the coordinates for the point in Degrees (decimal). You may change the coordinate display format to degrees/minutes/seconds by changing the Degrees drop-down to DMS.
Click the polyline measurement icon and draw a polyline on the map by clicking two or more points. Double-click to finish drawing the polyline. The Measurement widget displays the total length of the polyline, using the defined Default Length Unit. To change the length unit, select the applicable unit of measure from the Milesdrop-down menu.
Click the polygon measurement icon and draw a polygon on the map by clicking three or more points. Double-click to finish drawing the polygon. The Measurement widget displays the total area of the polygon, using the defined Default Area Unit. To change the area unit, select the applicable unit of measure from the Acres drop-down menu.