API REFERENCE
PiecewiseVisualMapSpec
The PiecewiseVisualMapSpec type declaration and related types. Optional fields are marked with ?.
Type declaration
export interface PiecewiseVisualMapSpec {
type: 'piecewise';
min: number;
max: number;
pieces: ReadonlyArray<VisualMapPiece>;
mode: VisualMapPiecewiseMode;
outOfRangeColor: string;
selectedMode: VisualMapSelectedMode;
precision: number | null;
}