ol/source/ImageStatic
Classes
- Static
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description attributionsAttributionLike | undefined Attributions.
crossOriginnull | string | undefined 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.referrerPolicyReferrerPolicy | undefined The
referrerPolicyproperty for loaded images.imageExtentExtent Extent of the image in map coordinates. This is the [left, bottom, right, top] map coordinates of your image.
imageLoadFunctionLoadFunction | undefined Optional function to load an image given a URL.
interpolateboolean
(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.
projectionProjectionLike | undefined Projection. Default is the view projection.
urlstring Image URL.
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_source_ImageStatic.html