MeasurementSettings

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

Members

static IonSdkMeasurements.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 IonSdkMeasurements.MeasurementSettings.backgroundPadding : Cartesian2

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

static IonSdkMeasurements.MeasurementSettings.color : Color

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

static IonSdkMeasurements.MeasurementSettings.labelFont : string

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

static IonSdkMeasurements.MeasurementSettings.textColor : Color

Gets and sets the color used for the measurement labels.
Default Value: Color.WHITE
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.