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
|
* @typedef {Object} Options
|
||||||
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
||||||
* @property {number} [cacheSize=2048] Cache size.
|
* @property {number} [cacheSize=2048] Cache size.
|
||||||
* @property {import("../extent.js").Extent} [extent]
|
|
||||||
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
* @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
|
* 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
|
* access pixel data with the Canvas renderer. See
|
||||||
@@ -71,7 +70,6 @@ class TileImage extends UrlTile {
|
|||||||
super({
|
super({
|
||||||
attributions: options.attributions,
|
attributions: options.attributions,
|
||||||
cacheSize: options.cacheSize,
|
cacheSize: options.cacheSize,
|
||||||
extent: options.extent,
|
|
||||||
opaque: options.opaque,
|
opaque: options.opaque,
|
||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
state: options.state,
|
state: options.state,
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import {getKeyZXY} from '../tilecoord.js';
|
|||||||
* @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 {import("../proj.js").ProjectionLike} [projection]
|
* @property {import("../proj.js").ProjectionLike} [projection]
|
||||||
* @property {import("./State.js").default} [state]
|
* @property {import("./State.js").default} [state]
|
||||||
@@ -42,7 +41,6 @@ class UrlTile extends TileSource {
|
|||||||
super({
|
super({
|
||||||
attributions: options.attributions,
|
attributions: options.attributions,
|
||||||
cacheSize: options.cacheSize,
|
cacheSize: options.cacheSize,
|
||||||
extent: options.extent,
|
|
||||||
opaque: options.opaque,
|
opaque: options.opaque,
|
||||||
projection: options.projection,
|
projection: options.projection,
|
||||||
state: options.state,
|
state: options.state,
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ class VectorTile extends UrlTile {
|
|||||||
super({
|
super({
|
||||||
attributions: options.attributions,
|
attributions: options.attributions,
|
||||||
cacheSize: options.cacheSize !== undefined ? options.cacheSize : 128,
|
cacheSize: options.cacheSize !== undefined ? options.cacheSize : 128,
|
||||||
extent: extent,
|
|
||||||
opaque: false,
|
opaque: false,
|
||||||
projection: projection,
|
projection: projection,
|
||||||
state: options.state,
|
state: options.state,
|
||||||
|
|||||||
Reference in New Issue
Block a user