A widget for making ephemeral measurements.
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
An object with the following properties:
|
Members
Gets and sets whether the measurement toolbar is expanded.
-
Default Value:
false
Gets and sets whether the instructions are visible.
-
Default Value:
false
readonly measurements : Array.<Measurement>
packages/ion-sdk-measurements/Source/Measure/MeasureViewModel.js 164
Gets the array of available measurement types.
readonly scene : Scene
packages/ion-sdk-measurements/Source/Measure/MeasureViewModel.js 153
Gets the scene.
selectedMeasurement : Measurement
packages/ion-sdk-measurements/Source/Measure/MeasureViewModel.js 112
Gets or sets the currently selected measurement. This property is observable.
-
Default Value:
undefined
units : MeasureUnits
packages/ion-sdk-measurements/Source/Measure/MeasureViewModel.js 174
Gets the selected unit of measurement.
Methods
Destroys the widget view model.
Returns:
true if the object has been destroyed, false otherwise.
Resets the widget.
Toggles the state of the toolbar.
Toggles the visibility of the instructions panel.