From ad3f2488250760c082fe24c5110c705338792825 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 12 Oct 2018 08:51:03 +0200 Subject: [PATCH] Fix format and version properties in ol/source/WMTS Options typedef --- src/ol/source/WMTS.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index ef7615b708..cf6ac25474 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -32,8 +32,8 @@ import {appendParams} from '../uri.js'; * For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px * by 512px images (for retina/hidpi devices) then `tilePixelRatio` * should be set to `2`. - * @property {string} [version='image/jpeg'] Image format. - * @property {string} [format='1.0.0'] WMTS version. + * @property {string} [format='image/jpeg'] Image format. + * @property {string} [version='1.0.0'] WMTS version. * @property {string} matrixSet Matrix set. * @property {!Object} [dimensions] Additional "dimensions" for tile requests. * This is an object with properties named like the advertised WMTS dimensions.