Merge pull request #8732 from wallw-bits/fix-typecheck-tilesource

Fix type check in ol/source/Tile
This commit is contained in:
Frédéric Junod
2018-09-28 08:19:58 +02:00
committed by GitHub

View File

@@ -15,7 +15,6 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
* @typedef {Object} Options
* @property {import("./Source.js").AttributionLike} [attributions]
* @property {number} [cacheSize]
* @property {import("../extent.js").Extent} [extent]
* @property {boolean} [opaque]
* @property {number} [tilePixelRatio]
* @property {import("../proj.js").ProjectionLike} [projection]
@@ -41,7 +40,6 @@ class TileSource extends Source {
super({
attributions: options.attributions,
extent: options.extent,
projection: options.projection,
state: options.state,
wrapX: options.wrapX