Skip to main content

flywave-terrain-datasource.terraintiledecoder.gettileinfo

Home > @flywave/flywave-terrain-datasource > TerrainTileDecoder > getTileInfo

TerrainTileDecoder.getTileInfo() method

Retrieves information about a tile without fully decoding it This implementation returns undefined as we don't currently extract tile info

Signature:

getTileInfo(data: ArrayBufferLike, tileKey: TileKey, projection: Projection): Promise<TileInfo | undefined>;

Parameters

Parameter

Type

Description

data

ArrayBufferLike

The raw tile data as an ArrayBuffer

tileKey

TileKey

The key identifying the tile to get info for

projection

Projection

The projection used for the tile

Returns:



Promise&lt;TileInfo \| undefined&gt;

A promise that resolves to TileInfo or undefined