Skip to content
Guides API

RasterLayerProps

RasterLayerProps = LayerProps & object

Defined in: src/ExpoArcgis.types.ts:857

Props for a <RasterLayer> — mirror the native RasterLayer (image service or local raster).

optional rasterFunction?: string

On-the-fly raster function chain to apply to the layer’s raster, serialised as JSON (e.g. a hillshade / colormap / NDVI chain). When set, the SDK builds a RasterFunction.fromJSONRaster(rasterFunction:) pipeline with the source raster wired in as the first raster argument. Construction-time only — changing this prop requires remounting the layer.

source: RasterSource