AreaMeasurementAnalysisView3D

AMD: require(["esri/views/3d/analysis/AreaMeasurementAnalysisView3D"], (AreaMeasurementAnalysisView3D) => { /* code goes here */ });
ESM: import AreaMeasurementAnalysisView3D from "@arcgis/core/views/3d/analysis/AreaMeasurementAnalysisView3D";
Class: esri/views/3d/analysis/AreaMeasurementAnalysisView3D

Represents the esri/views/3d/analysis/AnalysisView3D of an AreaMeasurementAnalysis after it has been added to SceneView.analyses.

The AreaMeasurementAnalysisView3D is responsible for rendering a AreaMeasurementAnalysis using custom visualizations. The properties on the analysis view provide developers with the ability to query measured results.

The view for an analysis can be retrieved using SceneView.whenAnalysisView similar to how layer views are retrieved for layers using SceneView.whenLayerView.

// retrieve analysis view for analysis
const analysis = new AreaMeasurementAnalysis();
sceneView.analyses.add(analysis); // add to the scene view
const analysisView = await view.whenAnalysisView(analysis);

Constructors

new AreaMeasurementAnalysisView3D(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Name Type Summary Class
AreaMeasurementAnalysismore details

The area measurement analysis object associated with the analysis view.

more detailsAreaMeasurementAnalysisView3D
AreaMeasurementAnalysisResultmore details

Result of the area measurement.

more detailsAreaMeasurementAnalysisView3D
Stringmore details

The analysis view type.

more detailsAreaMeasurementAnalysisView3D
Booleanmore details

When true, the analysis is visualized in the view.

more detailsAreaMeasurementAnalysisView3D

Property Details

analysis AreaMeasurementAnalysisreadonly

The area measurement analysis object associated with the analysis view.

Result of the area measurement.

type Stringreadonly

The analysis view type.

For AreaMeasurementAnalysisView3D the type is always "area-measurement-view-3d".

visible Boolean

When true, the analysis is visualized in the view.

Type Definitions

AreaMeasurementAnalysisResult

Result obtained from an AreaMeasurementAnalysis.

Properties:
mode String

Describes the mode in which the measurement was taken. In euclidean mode, the area and perimeter length are computed from a flat polygon with straight segments on the perimeter in the ECEF coordinate system. In geodesic mode, the area and perimeter length are computed from a geodesic polygon on the WGS84 ellipsoid.

Possible Values:"euclidean"|"geodesic"

area Area

Measured area quantity.

pathLength Length

Measured circumference of the measured area.

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