PointMeasurement

SWVL new Cesium.PointMeasurement(options)

Draws a point and the longitude, latitude, height, and slope of 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
locale String optional The BCP 47 language tag string customizing language-sensitive number formatting. If undefined, the runtime's default locale is used. See the Intl page on MDN
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

readonly height : Number

Gets the height.
Gets the icon.
Gets the id.

readonly instructions : Array.<String>

Gets the instruction text.
Gets the position.

readonly slope : Number

Gets the slope in radians.

readonly thumbnail : String

Gets the thumbnail.
Gets the type.

Methods

Destroys the measurement.
Handles drawing on mouse move.

isDestroyed()Boolean

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