On this page

Interface IsolineLayerOptions

Options specific to the isolines visualization

interface IsolineLayerOptions {
    channel?: RgbChannel;
    lineColor: RgbaColor;
    lineColorTen?: RgbaColor;
    lineThickness?: number;
    max: number;
    min: number;
    renderBlurRadius: number;
    stepForZoomLevels: ZoomLevelStep[];
}
Index

Properties

channel?: RgbChannel

Channel to read visualized value

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.

max: number

Maximal value encoded in the tile, represented with 255

min: number

Minimal value encoded in the tile, represented with 0

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.

stepForZoomLevels: ZoomLevelStep[]

Lines densities for zoom levels

Was this helpful?
SDK JS
Modules
Reference
interfaces
IsolineLayerOptions