From 4114f4faaac9f008369a58dd2d50dcc8b41dc0c0 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 4 Apr 2018 15:44:34 +0200 Subject: [PATCH] Module type for ol.TileCoord --- src/ol/source/TileImage.js | 2 +- src/ol/source/TileWMS.js | 2 +- src/ol/source/VectorTile.js | 2 +- src/ol/source/WMTS.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ol/source/TileImage.js b/src/ol/source/TileImage.js index 340b2d6471..c7c1eb1382 100644 --- a/src/ol/source/TileImage.js +++ b/src/ol/source/TileImage.js @@ -27,7 +27,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js'; * @property {boolean} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels). * Higher values can increase reprojection performance, but decrease precision. * @property {module:ol/source/State~State} [state] Source state. - * @property {function(new: ol.ImageTile, ol.TileCoord, + * @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. * Default is {@link ol.ImageTile}. diff --git a/src/ol/source/TileWMS.js b/src/ol/source/TileWMS.js index d3e7c39eb9..4f1b21e083 100644 --- a/src/ol/source/TileWMS.js +++ b/src/ol/source/TileWMS.js @@ -43,7 +43,7 @@ import {appendParams} from '../uri.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 {function(new: ol.ImageTile, ol.TileCoord, + * @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. * Default is {@link ol.ImageTile}. diff --git a/src/ol/source/VectorTile.js b/src/ol/source/VectorTile.js index cd68b572f0..a160c0c959 100644 --- a/src/ol/source/VectorTile.js +++ b/src/ol/source/VectorTile.js @@ -21,7 +21,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid. * stroke operations. * @property {module:ol/proj~ProjectionLike} projection Projection. * @property {module:ol/source/State~State} [state] Source state. - * @property {function(new: ol.VectorTile, ol.TileCoord, + * @property {function(new: ol.VectorTile, module:ol/tilecoord~TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. * Default is {@link ol.VectorTile}. diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index 82cae6e0a0..d8396d671a 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -27,7 +27,7 @@ import {appendParams} from '../uri.js'; * @property {ol.source.WMTSRequestEncoding|string} [requestEncoding='KVP'] Request encoding. * @property {string} layer Layer name as advertised in the WMTS capabilities. * @property {string} style Style name as advertised in the WMTS capabilities. - * @property {function(new: ol.ImageTile, ol.TileCoord, + * @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. Default is {@link ol.ImageTile}. * @property {number} [tilePixelRatio=1] The pixel ratio used by the tile service. @@ -71,7 +71,7 @@ import {appendParams} from '../uri.js'; * this. See http://mapserver.org/output/tile_mode.html. * @property {boolean} [hidpi=true] Use the `ol.Map#pixelRatio` value when requesting * the image from the remote server. - * @property {function(new: ol.ImageTile, ol.TileCoord, + * @property {function(new: ol.ImageTile, module:ol/tilecoord~TileCoord, * ol.TileState, string, ?string, * ol.TileLoadFunctionType)} [tileClass] Class used to instantiate image tiles. * Default is {@link ol.ImageTile}.