Skip to main content

Type Alias: MosaicItem

MosaicItem = object

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

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:36

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

A bbox across the antimeridian may be written with minX > maxX, as GeoJSON (RFC 7946 section 5.2) and STAC do.


id?​

optional id?: string

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

A unique identifier for the item, which keys the layer's cache of opened sources. Defaults to the item's position in the mosaic's list of items, which is only safe while the list changes by appending: after any other change, a new item at a cached position draws as the old one.