Move ol.SourceSourceOptions to ol/source/Source
This commit is contained in:
@@ -8,6 +8,15 @@ import {get as getProjection} from '../proj.js';
|
||||
import SourceState from '../source/State.js';
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {ol.AttributionLike} [attributions]
|
||||
* @property {module:ol/proj~ProjectionLike} projection
|
||||
* @property {ol.source.State} [state]
|
||||
* @property {boolean} [wrapX]
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Abstract base class; normally only used for creating subclasses and not
|
||||
@@ -19,7 +28,7 @@ import SourceState from '../source/State.js';
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {module:ol/Object~BaseObject}
|
||||
* @param {ol.SourceSourceOptions} options Source options.
|
||||
* @param {module:ol/source/Source~Options} options Source options.
|
||||
* @api
|
||||
*/
|
||||
const Source = function(options) {
|
||||
|
||||
@@ -227,15 +227,6 @@ ol.SourceImageOptions;
|
||||
ol.SourceRasterRenderedState;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* projection: module:ol/proj~ProjectionLike,
|
||||
* state: (ol.source.State|undefined),
|
||||
* wrapX: (boolean|undefined)}}
|
||||
*/
|
||||
ol.SourceSourceOptions;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* cacheSize: (number|undefined),
|
||||
|
||||
Reference in New Issue
Block a user