diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index 98d8cb86eb..557ce2c19e 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -20,7 +20,7 @@ import {appendParams} from '../uri.js'; * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to * access pixel data with the Canvas renderer. See * {@link https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image} for more detail. - * @property {ol.tilegrid.WMTS} tileGrid Tile grid. + * @property {module:ol/tilegrid/WMTS~WMTSTileGrid} tileGrid Tile grid. * @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. diff --git a/src/ol/source/XYZ.js b/src/ol/source/XYZ.js index 97ba2e6b74..49a632d6be 100644 --- a/src/ol/source/XYZ.js +++ b/src/ol/source/XYZ.js @@ -19,7 +19,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js'; * Higher values can increase reprojection performance, but decrease precision. * @property {number} [maxZoom=18] Optional max zoom level. * @property {number} [maxZoom=0] Optional min zoom level. - * @property {ol.tilegrid.WMTS} tileGrid Tile grid. + * @property {module:ol/tilegrid/WMTS~WMTSTileGrid} tileGrid Tile grid. * @property {ol.TileLoadFunctionType} [tileLoadFunction] Optional function to load a tile given a URL. The default is * ```js * function(imageTile, src) {