Raster Layer
Variable rendered as a color overlay
Example
Example: Picking
Data Properties
See Data properties common for all layers.
Style Properties
See Style properties common for all layers.
palette
palette
Type: color palette text or array, required
Palette used to interpolate values to colors.
Formats:
text (
string
) - see Text format for detailsarray (
[number, PaletteColor][]
) -PaletteColor
is any object accepted by Chroma.js constructor
Picking Info
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.
Last updated