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.
attributions Array.<ol.Attribution> Attributions.
Source:
  • image.js, line 33

Extends

  • goog.events.EventTarget

Members

<protected> state :ol.ImageState

Source:
  • image.js, line 84

Methods

<protected> dispatchChangeEvent

Source:
  • image.js, line 92

getAttributions

Source:
  • image.js, line 100
Returns:
Attributions.
Type
Array.<ol.Attribution>

getExtent

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

getImageElement

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

getResolution

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

getState

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

load

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