Param: tileCoord

Tile coordinate.

Param: state

State.

Param: src

Image source URI.

Param: crossOrigin

Cross origin.

Param: tileLoadFunction

Tile load function.

Hierarchy

Constructors

  • Parameters

    • tileCoord: TileCoord

      Tile coordinate.

    • state: number

      State.

    • src: string

      Image source URI.

    • Optional crossOrigin: string

      Cross origin.

    • Optional tileLoadFunction: TileLoadFunctionType

      Tile load function.

    Returns ImageTile

Methods

  • Get the image element for this tile.

    Parameters

    • Optional opt_context: Object

    Returns HTMLCanvasElement | HTMLVideoElement | HTMLImageElement

    Inherit Doc

    Api

  • Get the tile coordinate for this tile.

    Returns TileCoord

    The tile coordinate.

    Api

  • Load the image or retry if loading previously failed. Loading is taken care of by the tile queue, and calling this method is only needed for preloading or for reloading in case of an error.

    Returns void

    Abstract

    Api

Generated using TypeDoc