Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description attributions
AttributionLike | undefined Attributions.
crossOrigin
null | string | undefined The
crossOrigin
attribute for loaded images. Note that you must provide acrossOrigin
value if you want to access pixel data with the Canvas renderer. See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.imageExtent
Extent Extent of the image in map coordinates. This is the [left, bottom, right, top] map coordinates of your image.
imageLoadFunction
LoadFunction | undefined Optional function to load an image given a URL.
interpolate
boolean
(defaults to true)Use interpolated values when resampling. By default, linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
projection
ProjectionLike | undefined Projection. Default is the view projection.
url
string Image URL.