Raster Layer
Last updated
Last updated
Variable rendered as a color overlay
See Data properties common for all layers.
See Style properties common for all layers.
palette
Type: color palette text or array, required
Palette used to interpolate values to colors.
Formats:
text (string
) - see Text format for details
array ([number, PaletteColor][]
) - PaletteColor
is any object accepted by Chroma.js constructor
Type: RasterPointProperties
If pickable: true
, the picking info passed to callbacks (onHover
, onClick
, etc.) provides information on which pixel was picked. It contains an additional raster
field.
Float32 data are recommended for the best precision.
See Tooltip control and BitmapLayer Pixel Picking.