Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface WebTileDataProvider

Hierarchy

  • WebTileDataProvider

Implemented by

Index

Properties

Properties

getTexture

getTexture: (tile: Tile, abortSignal?: AbortSignal) => Promise<[] | undefined>

The method to create the Texture that will be applied to the Tile

If the Promise is resolved with an undefined Texture, the Tile is considered loaded and having no data. If the Promise is rejected, it is considered a temporary failure and the tile will be disposed and recreated if visible again.

param

Tile to which the texture will be applied.

param

Optional AbortSignal to cancel the request.

Type declaration

    • (tile: Tile, abortSignal?: AbortSignal): Promise<[] | undefined>
    • Parameters

      • tile: Tile
      • Optional abortSignal: AbortSignal

      Returns Promise<[] | undefined>

Generated using TypeDoc