Move ol.SourceImageOptions to ol/source/Image
This commit is contained in:
@@ -67,6 +67,16 @@ const ImageSourceEvent = function(type, image) {
|
||||
inherits(ImageSourceEvent, Event);
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {ol.AttributionLike} [attributions]
|
||||
* @property {module:ol/extent~Extent} [extent]
|
||||
* @property {module:ol/proj~ProjectionLike} projection
|
||||
* @property {Array.<number>} [resolutions]
|
||||
* @property {ol.source.State} [state]
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Abstract base class; normally only used for creating subclasses and not
|
||||
@@ -76,7 +86,7 @@ inherits(ImageSourceEvent, Event);
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.source.Source}
|
||||
* @param {ol.SourceImageOptions} options Single image source options.
|
||||
* @param {module:ol/source/Image~Options} options Single image source options.
|
||||
* @api
|
||||
*/
|
||||
const ImageSource = function(options) {
|
||||
|
||||
@@ -209,16 +209,6 @@ ol.ReprojTileFunctionType;
|
||||
ol.ReprojTriangle;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* extent: (null|module:ol/extent~Extent|undefined),
|
||||
* projection: module:ol/proj~ProjectionLike,
|
||||
* resolutions: (Array.<number>|undefined),
|
||||
* state: (ol.source.State|undefined)}}
|
||||
*/
|
||||
ol.SourceImageOptions;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{revision: number,
|
||||
* resolution: number,
|
||||
|
||||
Reference in New Issue
Block a user