From 3c02bd15fb767f7bb4522c0d14e306e6bde5f5e5 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 3 Sep 2018 08:56:34 +0200 Subject: [PATCH] Add missing 'extent' property in TileImage constructor --- src/ol/source/TileImage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ol/source/TileImage.js b/src/ol/source/TileImage.js index 290ef0725b..d018968b23 100644 --- a/src/ol/source/TileImage.js +++ b/src/ol/source/TileImage.js @@ -18,6 +18,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js'; * @typedef {Object} Options * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. + * @property {module:ol/extent~Extent} [extent] * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * 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 @@ -63,7 +64,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js'; */ class TileImage extends UrlTile { /** - * @param {module:ol/source/TileImage~Options=} options Image tile options. + * @param {!module:ol/source/TileImage~Options} options Image tile options. */ constructor(options) {