From 43b9f70077abb8095abf1c74f94896cdf30b6b23 Mon Sep 17 00:00:00 2001 From: Roman Zoller Date: Mon, 15 Oct 2018 13:29:19 +0200 Subject: [PATCH] Clarify format option for ol/source/WMTS --- src/ol/source/WMTS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index cf6ac25474..902ca5f374 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -32,7 +32,7 @@ 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} [format='image/jpeg'] Image format. + * @property {string} [format='image/jpeg'] Image format. Only used when `requestEncoding` is `'KVP'`. * @property {string} [version='1.0.0'] WMTS version. * @property {string} matrixSet Matrix set. * @property {!Object} [dimensions] Additional "dimensions" for tile requests.