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 Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class | |
---|---|---|---|---|
AreaMeasurementAnalysis | more details The area measurement analysis object associated with the analysis view. | more details | AreaMeasurementAnalysisView3D | |
AreaMeasurementAnalysisResult | more details Result of the area measurement. | more details | AreaMeasurementAnalysisView3D | |
String | more details The analysis view type. | more details | AreaMeasurementAnalysisView3D | |
Boolean | more details When | more details | AreaMeasurementAnalysisView3D |
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. Ingeodesic
mode, the area and perimeter length are computed from a geodesic polygon on the WGS84 ellipsoid.Possible Values:"euclidean"|"geodesic"
area AreaMeasured area quantity.
pathLength LengthMeasured circumference of the measured area.