Move ol.SourceImageOptions to ol/source/Image

This commit is contained in:
Roman Zoller
2018-03-25 12:00:26 +02:00
parent d4f39f7bbb
commit 81a0c341ab
2 changed files with 11 additions and 11 deletions

View File

@@ -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) {

View File

@@ -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,