Merge pull request #8732 from wallw-bits/fix-typecheck-tilesource
Fix type check in ol/source/Tile
This commit is contained in:
@@ -15,7 +15,6 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
|
|||||||
* @typedef {Object} Options
|
* @typedef {Object} Options
|
||||||
* @property {import("./Source.js").AttributionLike} [attributions]
|
* @property {import("./Source.js").AttributionLike} [attributions]
|
||||||
* @property {number} [cacheSize]
|
* @property {number} [cacheSize]
|
||||||
* @property {import("../extent.js").Extent} [extent]
|
|
||||||
* @property {boolean} [opaque]
|
* @property {boolean} [opaque]
|
||||||
* @property {number} [tilePixelRatio]
|
* @property {number} [tilePixelRatio]
|
||||||
* @property {import("../proj.js").ProjectionLike} [projection]
|
* @property {import("../proj.js").ProjectionLike} [projection]
|
||||||
@@ -41,7 +40,6 @@ class TileSource extends Source {
|
|||||||
|
|
||||||
super({
|
super({
|
||||||
attributions: options.attributions,
|
attributions: options.attributions,
|
||||||
extent: options.extent,
|
|
||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
state: options.state,
|
state: options.state,
|
||||||
wrapX: options.wrapX
|
wrapX: options.wrapX
|
||||||
|
|||||||
Reference in New Issue
Block a user