Skip to main content

Type Alias: MosaicSource

MosaicSource = object

Defined in: packages/deck.gl-geotiff/src/mosaic-layer/mosaic-tileset-2d.ts:19

Minimal required interface of a mosaic item.

Properties​

bbox​

bbox: [number, number, number, number]

Defined in: packages/deck.gl-geotiff/src/mosaic-layer/mosaic-tileset-2d.ts:31

Geographic bounds (WGS84) of the source in [minX, minY, maxX, maxY] format


id?​

optional id?: string

Defined in: packages/deck.gl-geotiff/src/mosaic-layer/mosaic-tileset-2d.ts:27

Optional stable identifier used as this source's tile-cache key in the inner Tileset2D. Defaults to the source's position in the sources array. Supply an explicit value when the sources list is reordered or spliced at runtime, so a given source keeps the same cache slot across updates.