Skip to main content

Function: tilesetLevelsEqual()

tilesetLevelsEqual(a, b): boolean

Defined in: packages/deck.gl-raster/src/multi-raster-tileset/multi-tileset-descriptor.ts:143

Check if two TilesetLevels have the same grid parameters.

Used to detect when sources share a tile grid and can skip UV transform computation (e.g., all 10m Sentinel-2 bands share the same grid).

Compares TilesetLevel.matrixWidth, TilesetLevel.matrixHeight, TilesetLevel.tileWidth, TilesetLevel.tileHeight, and TilesetLevel.metersPerPixel.

Parameters

a

TilesetLevel

b

TilesetLevel

Returns

boolean