diff --git a/src/ol/layer/Base.js b/src/ol/layer/Base.js index 2c8ba2d79c..a00d5ebbc4 100644 --- a/src/ol/layer/Base.js +++ b/src/ol/layer/Base.js @@ -169,7 +169,7 @@ BaseLayer.prototype.getOpacity = function() { /** * @abstract - * @return {ol.source.State} Source state. + * @return {module:ol/source/State~State} Source state. */ BaseLayer.prototype.getSourceState = function() {}; diff --git a/src/ol/source/Image.js b/src/ol/source/Image.js index 4be55dc8eb..e66959483c 100644 --- a/src/ol/source/Image.js +++ b/src/ol/source/Image.js @@ -73,7 +73,7 @@ inherits(ImageSourceEvent, Event); * @property {module:ol/extent~Extent} [extent] * @property {module:ol/proj~ProjectionLike} projection * @property {Array.} [resolutions] - * @property {ol.source.State} [state] + * @property {module:ol/source/State~State} [state] */ diff --git a/src/ol/source/ImageCanvas.js b/src/ol/source/ImageCanvas.js index 801080a163..e7b43af9f1 100644 --- a/src/ol/source/ImageCanvas.js +++ b/src/ol/source/ImageCanvas.js @@ -23,7 +23,7 @@ import ImageSource from '../source/Image.js'; * width and height of the map viewport, and so on. Must be `1` or higher. * @property {Array.} [resolutions] Resolutions. * If specified, new canvases will be created for these resolutions - * @property {ol.source.State} [state] Source state. + * @property {module:ol/source/State~State} [state] Source state. */ diff --git a/src/ol/source/Source.js b/src/ol/source/Source.js index e2149b10f8..2f8c93b18f 100644 --- a/src/ol/source/Source.js +++ b/src/ol/source/Source.js @@ -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) { diff --git a/src/ol/source/Tile.js b/src/ol/source/Tile.js index 0b54b5ad29..280fc1b988 100644 --- a/src/ol/source/Tile.js +++ b/src/ol/source/Tile.js @@ -20,7 +20,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j * @property {boolean} [opaque] * @property {number} [tilePixelRatio] * @property {module:ol/proj~ProjectionLike} [projection] - * @property {ol.source.State} [state] + * @property {module:ol/source/State~State} [state] * @property {ol.tilegrid.TileGrid} [tileGrid] * @property {boolean} [wrapX=true] * @property {number} [transition] diff --git a/src/ol/source/TileImage.js b/src/ol/source/TileImage.js index 177a470086..340b2d6471 100644 --- a/src/ol/source/TileImage.js +++ b/src/ol/source/TileImage.js @@ -26,7 +26,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js'; * @property {module:ol/proj~ProjectionLike} projection Projection. * @property {boolean} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels). * Higher values can increase reprojection performance, but decrease precision. - * @property {ol.source.State} [state] Source state. + * @property {module:ol/source/State~State} [state] Source state. * @property {function(new: ol.ImageTile, ol.TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. diff --git a/src/ol/source/UrlTile.js b/src/ol/source/UrlTile.js index bac594efaa..bb2eae35d7 100644 --- a/src/ol/source/UrlTile.js +++ b/src/ol/source/UrlTile.js @@ -15,7 +15,7 @@ import {getKeyZXY} from '../tilecoord.js'; * @property {module:ol/extent~Extent} [extent] * @property {boolean} [opaque] * @property {module:ol/proj~ProjectionLike} [projection] - * @property {ol.source.State} [state] + * @property {module:ol/source/State~State} [state] * @property {ol.tilegrid.TileGrid} [tileGrid] * @property {module:ol/Tile~LoadFunction} tileLoadFunction * @property {number} [tilePixelRatio] diff --git a/src/ol/source/VectorTile.js b/src/ol/source/VectorTile.js index 4bdea0dcea..99101a0d60 100644 --- a/src/ol/source/VectorTile.js +++ b/src/ol/source/VectorTile.js @@ -20,7 +20,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid. * boundaries or TopoJSON sources) allows the renderer to optimise fill and * stroke operations. * @property {module:ol/proj~ProjectionLike} projection Projection. - * @property {ol.source.State} [state] Source state. + * @property {module:ol/source/State~State} [state] Source state. * @property {function(new: ol.VectorTile, ol.TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles.