diff --git a/src/ol/layer/Layer.js b/src/ol/layer/Layer.js index 855c5453b0..fbc95425a8 100644 --- a/src/ol/layer/Layer.js +++ b/src/ol/layer/Layer.js @@ -24,7 +24,7 @@ import SourceState from '../source/State.js'; * visible. * @property {number} [maxResolution] The maximum resolution (exclusive) below which this layer will * be visible. - * @property {ol.source.Source} [source] Source for this layer. If not provided to the constructor, + * @property {module:ol/source/Source~Source} [source] Source for this layer. If not provided to the constructor, * the source can be set by calling {@link ol.layer.Layer#setSource layer.setSource(source)} after * construction. */ @@ -142,13 +142,13 @@ Layer.prototype.getLayerStatesArray = function(opt_states) { /** * Get the layer source. - * @return {ol.source.Source} The layer source (or `null` if not yet set). + * @return {module:ol/source/Source~Source} The layer source (or `null` if not yet set). * @observable * @api */ Layer.prototype.getSource = function() { const source = this.get(LayerProperty.SOURCE); - return /** @type {ol.source.Source} */ (source) || null; + return /** @type {module:ol/source/Source~Source} */ (source) || null; }; @@ -226,7 +226,7 @@ Layer.prototype.setMap = function(map) { /** * Set the layer source. - * @param {ol.source.Source} source The layer source. + * @param {module:ol/source/Source~Source} source The layer source. * @observable * @api */ diff --git a/src/ol/source/Image.js b/src/ol/source/Image.js index e66959483c..40d6cb581f 100644 --- a/src/ol/source/Image.js +++ b/src/ol/source/Image.js @@ -85,7 +85,7 @@ inherits(ImageSourceEvent, Event); * * @constructor * @abstract - * @extends {ol.source.Source} + * @extends {module:ol/source/Source~Source} * @param {module:ol/source/Image~Options} options Single image source options. * @api */ diff --git a/src/ol/source/Raster.js b/src/ol/source/Raster.js index 90ec15371c..2a804abc00 100644 --- a/src/ol/source/Raster.js +++ b/src/ol/source/Raster.js @@ -84,7 +84,7 @@ inherits(RasterSourceEvent, Event); /** * @typedef {Object} Options - * @property {Array.