MeasurementSettings

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

Members

static Cesium.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);

static Cesium.MeasurementSettings.backgroundPadding : Cartesian2

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

static Cesium.MeasurementSettings.color : Color

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

static Cesium.MeasurementSettings.labelFont : string

Gets and sets the font used for the measurement labels.
Default Value: '16px Lucida Console'

static Cesium.MeasurementSettings.textColor : Color

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