Provides the logic for the AreaMeasurement3D widget.
- See also:
The name of the class.more details
The current measurement of the area.more details
The view model's state.more details
Unit system (imperial, metric) or specific unit used for displaying the area values.more details
List of available units and unit systems (imperial, metric) for displaying the area values.more details
The view from which the widget will operate.more details
The name of the class. The declared class name is formatted as
- measurement Objectreadonly
The current measurement of the area.
- measurementMode String
Describes the mode in which the measurement was taken. In
euclideanmode, the area and perimeter length are computed from a flat polygon with straight segments on the perimeter in the ECEF coordinate system. In
geodesicmode, the area and perimeter length are computed from a geodesic polygon on the WGS84 ellipsoid.
Possible Values: euclidean | geodesicarea MeasurementValue
The area of the polygon.perimeterLength MeasurementValue
The perimeter length of the polygon.
- state Stringreadonly
The view model's state.
Value Description disabled not ready yet ready ready for measuring measuring currently measuring measured measuring has finished
- Default Value:disabled
- unit String
Unit system (imperial, metric) or specific unit used for displaying the area values.
Possible Values: metric | imperial | square-inches | square-feet | square-us-feet | square-yards | square-miles | square-meters | square-kilometers | acres | ares | hectares
List of available units and unit systems (imperial, metric) for displaying the area values. By default, the following units are included:
- view SceneView
The view from which the widget will operate.
Clears the current measurement.more details
Starts a new measurement.more details
Clears the current measurement.
Starts a new measurement.
- MeasurementValue Object
- text String
Textual representation of the measured value.state String
State of the measured value.
Value Description available measured value is available unavailable measured value is not available due an incomplete measurement invalid measured value is not available due to an invalid measurement configuration (e.g. self-intersecting polygon)
API Reference search results