HeightMeasurement

new Cesium.HeightMeasurement(options)

Draws a measurement between a selected point and the ground beneath that point.
Name Type Description
options Object An object with the following properties:
Name Type Description
scene Scene The scene
units MeasureUnits The selected units of measurement
points PointPrimitiveCollection A collection for adding the point primitives
labels LabelCollection A collection for adding the labels
primitives PrimitiveCollection A collection for adding primitives

Members

readonlydistance : Number

Gets the distance in meters
Gets the icon.
Gets the id.

readonlyinstructions : Array.<String>

Gets the instruction text.

readonlythumbnail : String

Gets the thumbnail.
Gets the type.

Methods

Destroys the measurement.

handleClick(clickPosition)

Handles click events while drawing a height measurement.
Name Type Description
clickPosition Cartesian2 The click position

isDestroyed()Boolean

Returns:
true if the object has been destroyed, false otherwise.
Resets the widget.