Skip to content
GuidesToolkitAPI

RasterLayerProps

RasterLayerProps = LayerProps & object

Defined in: packages/expo-arcgis/src/ExpoArcgis.types.ts:1334

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.fromJSON → Raster(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