Class: ImageTile

ol.ImageTile

Extends

Methods

getImage(opt_context){HTMLCanvasElement|HTMLImageElement|HTMLVideoElement} experimental

src/ol/imagetile.js, line 83

Get the HTML image element for this tile (may be a Canvas, Image, or Video).

Name Type Description
context Object

Object.

Returns:
Image.

getTileCoord(){ol.TileCoord} inherited experimental

src/ol/tile.js, line 82

Get the tile coordinate for this tile.

Returns:
The tile coordinate.

load() experimental

src/ol/imagetile.js, line 144

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.