From 13f0eeb79574f2b4ef203f18fa3e14dc43ecff2e Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Fri, 15 Jul 2022 15:31:10 +0100 Subject: [PATCH] Fix tileSizes typedef --- src/ol/tilegrid/TileGrid.js | 2 +- src/ol/tilegrid/WMTS.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ol/tilegrid/TileGrid.js b/src/ol/tilegrid/TileGrid.js index fb5be9a3b5..06de487a87 100644 --- a/src/ol/tilegrid/TileGrid.js +++ b/src/ol/tilegrid/TileGrid.js @@ -50,7 +50,7 @@ const DECIMALS = 5; * negative because OpenLayers tile coordinates use the top left as the origin. * @property {number|import("../size.js").Size} [tileSize] Tile size. * Default is `[256, 256]`. - * @property {Array} [tileSizes] Tile sizes. If given, the array length + * @property {Array} [tileSizes] Tile sizes. If given, the array length * should match the length of the `resolutions` array, i.e. each resolution can have a different * tile size. */ diff --git a/src/ol/tilegrid/WMTS.js b/src/ol/tilegrid/WMTS.js index 89216fa175..f46b31558d 100644 --- a/src/ol/tilegrid/WMTS.js +++ b/src/ol/tilegrid/WMTS.js @@ -34,7 +34,7 @@ import {get as getProjection} from '../proj.js'; * an extent is used as `origin` or `origins`, then the `y` value must be * negative because OpenLayers tile coordinates use the top left as the origin. * @property {number|import("../size.js").Size} [tileSize] Tile size. - * @property {Array} [tileSizes] Tile sizes. The length of + * @property {Array} [tileSizes] Tile sizes. The length of * this array needs to match the length of the `resolutions` array. */ @@ -108,7 +108,7 @@ export function createFromCapabilitiesMatrixSet( const matrixIds = []; /** @type {!Array} */ const origins = []; - /** @type {!Array} */ + /** @type {!Array} */ const tileSizes = []; /** @type {!Array} */ const sizes = [];