Skip to content
Guides API

RasterLayerHandle

RasterLayerHandle = object

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

Imperative handle exposed by <RasterLayer> via ref.

buildPyramids(parameters?): Promise<RasterPyramidInfo>

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

Builds pyramid overviews into a sidecar .ovr beside the raster file and resolves once they are written (ArcGIS 300.1). Local rasters only — an image service has its own.

BuildRasterPyramidsParameters

Promise<RasterPyramidInfo>


closeRaster(): void

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

Releases the raster’s native file handles (ArcGIS 300.1). Call before deleting or replacing the underlying file — until then the handle stays open and the delete fails on some platforms. The layer stops drawing afterwards.

void


deletePyramids(): Promise<void>

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

Deletes the external .ovr overviews (ArcGIS 300.1). Embedded ones cannot be removed.

Promise<void>


getPyramidInfo(): Promise<RasterPyramidInfo | null>

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

The raster’s pyramid overviews, or null when it has none (ArcGIS 300.1). Without them a large local raster is resampled from full resolution on every draw.

Promise<RasterPyramidInfo | null>