Class: ol.Image

ol.Image

new Image

Parameters:
Name Type Argument Description
extent ol.Extent Extent.
resolution number Resolution.
src string Image source URI.
crossOrigin ?string <nullable>
Cross origin.
Source:
  • image.js, line 31

Extends

  • goog.events.EventTarget

Members

<protected> state :ol.ImageState

Source:
  • image.js, line 76

Methods

<protected> dispatchChangeEvent

Source:
  • image.js, line 84

getExtent

Source:
  • image.js, line 92
Returns:
Extent.
Type
ol.Extent

getImageElement

Parameters:
Name Type Argument Description
context Object= <optional>
(Optional) Object.
Source:
  • image.js, line 101
Returns:
Image.
Type
HTMLCanvasElement | Image | HTMLVideoElement

getResolution

Source:
  • image.js, line 123
Returns:
Resolution.
Type
number

getState

Source:
  • image.js, line 131
Returns:
State.
Type
ol.ImageState

load

Load not yet loaded URI.
Source:
  • image.js, line 163