MeasurementSettings

SWVL MeasurementSettings()

Contains options for configuring the style of the measurement widget primitives.

Members

staticCesium.MeasurementSettings.backgroundColor : Color

Gets and sets the background color used for the measurement labels.
Default Value: Cesium.Color(0.165, 0.165, 0.165, 0.8);

staticCesium.MeasurementSettings.backgroundPadding : Cartesian2

Gets and sets the background the horizontal and vertical background padding in pixels.
Default Value: Cesium.Cartesian2(7, 5);

staticCesium.MeasurementSettings.color : Color

Gets and sets the color used for the measurement primitives.
Default Value: Color.YELLOW

staticCesium.MeasurementSettings.labelFont : string

Gets and sets the font used for the measurement labels.
Default Value: '24px sans-serif'

staticCesium.MeasurementSettings.textColor : Color

Gets and sets the color used for the measurement labels.
Default Value: Color.WHITE