Move ol.SourceSourceOptions to ol/source/Source

This commit is contained in:
Roman Zoller
2018-03-25 11:44:57 +02:00
parent a8ac013d93
commit d4f39f7bbb
2 changed files with 10 additions and 10 deletions

View File

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

View File

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