Move ol.SourceImageOptions to ol/source/Image
This commit is contained in:
@@ -67,6 +67,16 @@ const ImageSourceEvent = function(type, image) {
|
|||||||
inherits(ImageSourceEvent, Event);
|
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
|
* @classdesc
|
||||||
* Abstract base class; normally only used for creating subclasses and not
|
* Abstract base class; normally only used for creating subclasses and not
|
||||||
@@ -76,7 +86,7 @@ inherits(ImageSourceEvent, Event);
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @abstract
|
* @abstract
|
||||||
* @extends {ol.source.Source}
|
* @extends {ol.source.Source}
|
||||||
* @param {ol.SourceImageOptions} options Single image source options.
|
* @param {module:ol/source/Image~Options} options Single image source options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const ImageSource = function(options) {
|
const ImageSource = function(options) {
|
||||||
|
|||||||
@@ -209,16 +209,6 @@ ol.ReprojTileFunctionType;
|
|||||||
ol.ReprojTriangle;
|
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,
|
* @typedef {{revision: number,
|
||||||
* resolution: number,
|
* resolution: number,
|
||||||
|
|||||||
Reference in New Issue
Block a user