On this page

Type Alias PressureIsolineLayerOptions

type PressureIsolineLayerOptions = {
    colorramp?: ColorRamp;
    id?: string;
    lineColor?: RgbaColor;
    lineColorTen?: RgbaColor;
    lineThickness?: number;
    opacity?: number;
    renderBlurRadius?: number;
    smooth?: boolean;
    stepForZoomLevels?: ZoomLevelStep[];
}
Index

Properties

colorramp?: ColorRamp

Coloramp to use

id?: string

ID of the layer

lineColor?: RgbaColor

Lines color

lineColorTen?: RgbaColor

Line color for pressure that are multiples of 10 (980, 990, 1000, etc.)

lineThickness?: number

Thickness of the line. Default 1.0.

opacity?: number

Opacity of the layer in [0, 1]

renderBlurRadius?: number

Integer > 0. Blurring is needed to ensure smoothly curved lines. renderBlurRadius is used in every animation frame to get best result, but higher values can make animation slower.

smooth?: boolean

Whether or not the colorramp must be smooth

stepForZoomLevels?: ZoomLevelStep[]

Lines densities for zoom levels

Was this helpful?
SDK JS
Modules
Reference
types
PressureIsolineLayerOptions