Options
All
  • Public
  • Public/Protected
  • All
Menu

Subclass of TileLoader which is used by TileDataSource to load the TileInfo meta data, not the tile data itself.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected dataProvider

dataProvider: DataProvider

The DataProvider that retrieves the binary tile data.

Protected dataSource

dataSource: DataSource

The DataSource the tile belongs to.

Optional decodedTile

decodedTile: DecodedTile

The result of decoding the payload: The DecodedTile.

Optional error

error: Error

Error object if loading or decoding failed.

Protected m_priority

m_priority: number = 0

Optional payload

payload: ArrayBufferLike | {}

The binary data in form of [[ArrayBufferLike]], or any object.

Protected Optional requestController

requestController: RequestController

The notifying the ITileDecoder to cancel decoding.

state

state: TileLoaderState = TileLoaderState.Initialized

Protected tileDecoder

tileDecoder: ITileDecoder

The ITileDecoder that decodes the binary tile to a [[DecodeTile]].

Optional tileInfo

tileInfo: TileInfo

Protected tileKey

tileKey: TileKey

The quadtree address of a Tile.

Accessors

isFinished

  • get isFinished(): boolean

priority

  • get priority(): number
  • set priority(priority: number): void

Methods

cancel

  • cancel(): void

Protected cancelImpl

  • cancelImpl(): void

loadAndDecode

Protected loadImpl

  • loadImpl(abortSignal: AbortSignal, onDone: (doneState: TileLoaderState) => void, onError: (error: Error) => void): void

Protected startDecodeTile

  • startDecodeTile(onDone: (doneState: TileLoaderState) => void, onError: (error: Error) => void): void

waitSettled

Generated using TypeDoc