Skip to main content

Type Alias: GetTileDataOptions

GetTileDataOptions = RasterTileGetTileDataOptions & object

Defined in: packages/deck.gl-zarr/src/zarr-layer.ts:37

Options bag passed to the user's ZarrLayerProps.getTileData callback.

Type Declaration

height

height: number

Actual pixel height of this tile. All tiles are the same chunk size except at the right and bottom edges of the array, where the valid region may be shorter (analogous to edge tiles in a Cloud-Optimized GeoTIFF).

sliceSpec

sliceSpec: SliceInput[]

Pre-computed slice spec for the tile. Pass directly to zarr.get(arr, sliceSpec). Spatial dims are sliced to the tile bounds; non-spatial dims are filled from the layer's selection prop.

width

width: number

Actual pixel width of this tile. All tiles are the same chunk size except at the right and bottom edges of the array, where the valid region may be narrower (analogous to edge tiles in a Cloud-Optimized GeoTIFF).

x

x: number

Tile column index.

y

y: number

Tile row index.

z

z: number

Tile zoom level (0 = coarsest).