Skip to main content

Class: TileMatrixSetAdaptor

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:151

An adapter interface to use a TileMatrixSet as a TilesetDescriptor for raster tile traversal.

Implements

Constructors

Constructor

new TileMatrixSetAdaptor(tms, __namedParameters): TileMatrixSetAdaptor

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:159

Parameters

tms

TileMatrixSetDefinition

__namedParameters
projectFrom3857

ProjectionFunction

projectFrom4326

ProjectionFunction

projectTo3857

ProjectionFunction

projectTo4326

ProjectionFunction

Returns

TileMatrixSetAdaptor

Properties

projectFrom3857

projectFrom3857: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:155

Inverse projection function from EPSG:3857 → source CRS.

Provided by the caller alongside projectTo3857.

Implementation of

TilesetDescriptor.projectFrom3857


projectFrom4326

projectFrom4326: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:157

Inverse projection function from EPSG:4326 → source CRS.

Provided by the caller alongside projectTo4326.

Implementation of

TilesetDescriptor.projectFrom4326


projectTo3857

projectTo3857: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:154

Projection function from the source CRS → EPSG:3857.

Provided by the caller (e.g. COGLayer or ZarrLayer) so that deck.gl-raster itself does not need a proj4 dependency.

Implementation of

TilesetDescriptor.projectTo3857


projectTo4326

projectTo4326: ProjectionFunction

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:156

Projection function from the source CRS → EPSG:4326.

Provided by the caller so that deck.gl-raster itself does not need a proj4 dependency.

Implementation of

TilesetDescriptor.projectTo4326


tms

tms: TileMatrixSetDefinition

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:152

Accessors

levels

Get Signature

get levels(): TilesetLevel[]

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:181

Ordered levels from coarsest (0) to finest.

Returns

TilesetLevel[]

Ordered levels from coarsest (0) to finest.

Implementation of

TilesetDescriptor.levels


projectedBounds

Get Signature

get projectedBounds(): Bounds

Defined in: packages/deck.gl-raster/src/raster-tileset/tile-matrix-set.ts:185

Bounding box of the dataset in the source CRS.

Returns

Bounds

Bounding box of the dataset in the source CRS.

Implementation of

TilesetDescriptor.projectedBounds