Measurement Widgets

This sample shows how to use the measurement widgets in 2D. The measurement widgets can also be used with all types of layers.

The straight distance between two or more points can be measured using the DistanceMeasurement2D widget. The widget displays the horizontal distance.

To try the measurement widgets, click the area or distance button in the top-right corner of the map, then click on the map to start measuring. Double-click to finish the measurement.

To see the detailed widget panel, including options to change units, click the "Show Details" button.