Type Alias PressureIsolineLayerOptions
type PressureIsolineLayerOptions = {
colorramp?: ColorRamp;
id?: string;
lineColor?: RgbaColor;
lineColorTen?: RgbaColor;
lineThickness?: number;
opacity?: number;
renderBlurRadius?: number;
smooth?: boolean;
stepForZoomLevels?: ZoomLevelStep[];
}
colorramp?: ColorRamp;
id?: string;
lineColor?: RgbaColor;
lineColorTen?: RgbaColor;
lineThickness?: number;
opacity?: number;
renderBlurRadius?: number;
smooth?: boolean;
stepForZoomLevels?: ZoomLevelStep[];
}
Properties
Optionalcolorramp
Optionalid
id?: string
ID of the layer
OptionallineColor
Lines color
OptionallineColorTen
Line color for pressure that are multiples of 10 (980, 990, 1000, etc.)
OptionallineThickness
lineThickness?: number
Thickness of the line. Default 1.0.
Optionalopacity
opacity?: number
Opacity of the layer in [0, 1]
OptionalrenderBlurRadius
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.
Optionalsmooth
smooth?: boolean
Whether or not the colorramp must be smooth
OptionalstepForZoomLevels
Lines densities for zoom levels
Was this helpful?
Coloramp to use