Measurement in 3D

This sample shows how to use the measurement widgets in 3D:

The straight distance between two points can be measured using the DirectLineMeasurement3D widget. The widget displays the horizontal, vertical and direct distance.

measurement-line-3d

An area can be measured using the AreaMeasurement3D widget.

measurement-area-3d

The measurement widgets can also be used with all types of layers, including PointCloudLayer or IntegratedMeshLayer.

By default, snapping is enabled to all layers that support snapping (feature layer, graphics layer, GeoJSON layer, WFS layer, CSV layer, 3D object scene layer, and building scene layer). This can be temporarily disabled by holding the CTRL key.

When the widget is active, a horizontal "laser" line is drawn which indicates the height at the current mouse position. This line can help in analyzing the heights of objects relative to each other and the terrain.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

The developer dashboard has moved

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close