Class: Image

ol.Image

Extends

Methods

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

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

Name Type Description
context Object

Object.

Returns:
Image.

load() experimental

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.