Remove 'extent' properties from ol/source/Tile children classes
This commit is contained in:
@@ -18,7 +18,6 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js';
|
||||
* @typedef {Object} Options
|
||||
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
||||
* @property {number} [cacheSize=2048] Cache size.
|
||||
* @property {import("../extent.js").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
|
||||
@@ -71,7 +70,6 @@ class TileImage extends UrlTile {
|
||||
super({
|
||||
attributions: options.attributions,
|
||||
cacheSize: options.cacheSize,
|
||||
extent: options.extent,
|
||||
opaque: options.opaque,
|
||||
projection: options.projection,
|
||||
state: options.state,
|
||||
|
||||
@@ -12,7 +12,6 @@ import {getKeyZXY} from '../tilecoord.js';
|
||||
* @typedef {Object} Options
|
||||
* @property {import("./Source.js").AttributionLike} [attributions]
|
||||
* @property {number} [cacheSize]
|
||||
* @property {import("../extent.js").Extent} [extent]
|
||||
* @property {boolean} [opaque]
|
||||
* @property {import("../proj.js").ProjectionLike} [projection]
|
||||
* @property {import("./State.js").default} [state]
|
||||
@@ -42,7 +41,6 @@ class UrlTile extends TileSource {
|
||||
super({
|
||||
attributions: options.attributions,
|
||||
cacheSize: options.cacheSize,
|
||||
extent: options.extent,
|
||||
opaque: options.opaque,
|
||||
projection: options.projection,
|
||||
state: options.state,
|
||||
|
||||
@@ -91,7 +91,6 @@ class VectorTile extends UrlTile {
|
||||
super({
|
||||
attributions: options.attributions,
|
||||
cacheSize: options.cacheSize !== undefined ? options.cacheSize : 128,
|
||||
extent: extent,
|
||||
opaque: false,
|
||||
projection: projection,
|
||||
state: options.state,
|
||||
|
||||
Reference in New Issue
Block a user