Raster Layer

Variable rendered as a color overlay

Example

Raster Layer

Example: Picking

Data Properties

See Data properties common for all layers.

Style Properties

See Style properties common for all layers.

palette

Type: color palette text or array, required

Palette used to interpolate values to colors.

Formats:

gridEnabled

Type: boolean, optional

Default: false

Displays a grid of points to allow for verification how the rendered data aligns to the grid.

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