Module type for ol.source.State

This commit is contained in:
Frederic Junod
2018-04-04 11:56:52 +02:00
parent 6ce42464b3
commit e283193ff4
8 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ 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 {module:ol/source/State~State} [state]
* @property {boolean} [wrapX]
*/
@@ -49,7 +49,7 @@ const Source = function(options) {
/**
* @private
* @type {ol.source.State}
* @type {module:ol/source/State~State}
*/
this.state_ = options.state !== undefined ?
options.state : SourceState.READY;
@@ -129,8 +129,8 @@ Source.prototype.getResolutions = function() {};
/**
* Get the state of the source, see {@link ol.source.State} for possible states.
* @return {ol.source.State} State.
* Get the state of the source, see {@link module:ol/source/State~State} for possible states.
* @return {module:ol/source/State~State} State.
* @api
*/
Source.prototype.getState = function() {
@@ -170,7 +170,7 @@ Source.prototype.setAttributions = function(attributions) {
/**
* Set the state of the source.
* @param {ol.source.State} state State.
* @param {module:ol/source/State~State} state State.
* @protected
*/
Source.prototype.setState = function(state) {