Front Layer
Last updated
Last updated
Front data rendered as front lines with icons
data
Type: DataT
The data type can be any object. Specific fields should be accessed or mapped using accessors below
getType
Type: (d: DataT) => WeatherLayers.FrontType
Accessor for the front type.
getPath
Type: (d: DataT) => [number, number][]
Accessor for the front path.
width
Type: number
, optional
Default: 2
coldColor
Type: color [number, number, number, number?]
, optional
Default: [0, 0, 255]
warmColor
Type: color [number, number, number, number?]
, optional
Default: [255, 0, 0]
occludedColor
Type: color [number, number, number, number?]
, optional
Default: [148, 0, 211]
Array of data objects. See .
Width of the line. See .
Color of the line and icon for cold fronts. See .
Color of the line and icon for warm fronts. See .
Color of the line and icon for occluded fronts. See .