Move olx.source.ImageStaticOptions to ol/source/ImageStaticOptions
This commit is contained in:
@@ -863,80 +863,6 @@ olx.source.StamenOptions.prototype.url;
|
||||
olx.source.StamenOptions.prototype.wrapX;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* imageExtent: (ol.Extent),
|
||||
* imageLoadFunction: (ol.ImageLoadFunctionType|undefined),
|
||||
* imageSize: (ol.Size|undefined),
|
||||
* projection: ol.ProjectionLike,
|
||||
* url: string}}
|
||||
*/
|
||||
olx.source.ImageStaticOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Attributions.
|
||||
* @type {ol.AttributionLike|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.attributions;
|
||||
|
||||
|
||||
/**
|
||||
* The `crossOrigin` attribute for loaded images. Note that you must provide a
|
||||
* `crossOrigin` value if you are using the WebGL renderer or if you want to
|
||||
* access pixel data with the Canvas renderer. See
|
||||
* {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image}
|
||||
* for more detail.
|
||||
* @type {null|string|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.crossOrigin;
|
||||
|
||||
|
||||
/**
|
||||
* Extent of the image in map coordinates. This is the [left, bottom, right,
|
||||
* top] map coordinates of your image.
|
||||
* @type {ol.Extent}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.imageExtent;
|
||||
|
||||
|
||||
/**
|
||||
* Optional function to load an image given a URL.
|
||||
* @type {ol.ImageLoadFunctionType|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.imageLoadFunction;
|
||||
|
||||
|
||||
/**
|
||||
* Projection.
|
||||
* @type {ol.ProjectionLike}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.projection;
|
||||
|
||||
|
||||
/**
|
||||
* 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.
|
||||
* @type {ol.Size|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.imageSize;
|
||||
|
||||
|
||||
/**
|
||||
* Image URL.
|
||||
* @type {string}
|
||||
* @api
|
||||
*/
|
||||
olx.source.ImageStaticOptions.prototype.url;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* cacheSize: (number|undefined),
|
||||
|
||||
Reference in New Issue
Block a user