Interface ITileLoader

The interface for managing tile loading.

Hierarchy

  • ITileLoader

Implemented by

Properties

decodedTile?: DecodedTile

The result of decoding the payload: The [[DecodedTile]].

isFinished: boolean

true if [[Tile]] is still loading, false otherwise.

priority: number

Priority given to the tile loading task. The greater the number, the higher the priority.

Current state of TileLoader.

Methods

  • Cancel loading of the [[Tile]]. Cancellation token is notified, an internal state is cleaned up.

    Parameters

    • Optional client: any

      Optional client requesting the cancelation. It's expected to match one of the clients that previously called loadAndDecode.

    Returns void

Generated using TypeDoc