Class: Image

ol.Image

Extends

Methods

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

src/ol/image.js, line 77

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

Name Type Description
context Object

Object.

Returns:
Image.

load() experimental

src/ol/image.js, line 129

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.