Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Description attributionsmodule:ol/source/Source~AttributionLike <optional>
Attributions.
crossOriginnull | string <optional>
The
crossOriginattribute for loaded images. Note that you must provide acrossOriginvalue 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.imageExtentmodule:ol/extent~Extent <optional>
Extent of the image in map coordinates. This is the [left, bottom, right, top] map coordinates of your image.
imageLoadFunctionmodule:ol/Image~LoadFunction <optional>
Optional function to load an image given a URL.
projectionmodule:ol/proj~ProjectionLike <optional>
Projection. Default is the view projection.
imageSizemodule:ol/size~Size <optional>
Size of the image in pixels. Usually the image size is auto-detected, so this only needs to be set if auto-detection fails for some reason.
urlstring Image URL.
OpenLayers