Optional
decodedThe result of decoding the payload
: The [[DecodedTile]].
Readonly
istrue
if [[Tile]] is still loading, false
otherwise.
Priority given to the tile loading task. The greater the number, the higher the priority.
Current state of TileLoader
.
Cancel loading of the [[Tile]]. Cancellation token is notified, an internal state is cleaned up.
Optional
client: anyOptional client requesting the cancelation. It's expected to match one of the clients that previously called loadAndDecode.
Start loading and/or proceed through the various states of loading of this tile.
Optional
client: anyOptional client requesting the load.
A promise which resolves the [[TileLoaderState]].
Return the current state in form of a promise. Caller can then wait for the promise to be resolved.
A promise which resolves the current [[TileLoaderState]].
Generated using TypeDoc
The interface for managing tile loading.