Contour Layer
Last updated
Last updated
Variable rendered as contours
interval
Type: number, required
Interval between contour lines in the data units. The greater interval, the less contour lines are rendered.
The value must be in the same units as the data image.
majorInterval
Type: number, optional
Default: 0
(every contour line is a major contour line)
Interval between major contour lines in the data units. The greater interval, the less major contour lines are rendered.
The value must be in the same units as the data image.
width
Type: number
, optional
Default: 1
Major contour lines are rendered with full width, minor contour lines are rendered with half width.
color
Type: color [number, number, number, number?]
, optional
Default: [255, 255, 255]
Major contour lines are rendered with full opacity, minor contour lines are rendered with half opacity.
palette
Type: color palette text or array, optional
Palette used to interpolate values to colors.
Formats:
See common for all layers.
See common for all layers.
Width of the contour line. See .
Color of the contour line. See .
text (string
) - see for details
array ([number, PaletteColor][]
) - PaletteColor
is any object accepted by