Remove ol.SourceTileOptions
This commit is contained in:
+16
-1
@@ -12,6 +12,21 @@ import Source from '../source/Source.js';
|
|||||||
import {getKeyZXY, withinExtentAndZ} from '../tilecoord.js';
|
import {getKeyZXY, withinExtentAndZ} from '../tilecoord.js';
|
||||||
import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.js';
|
import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {Object} Options
|
||||||
|
* @property {ol.AttributionLike} [attributions]
|
||||||
|
* @property {number} [cacheSize]
|
||||||
|
* @property {module:ol/extent~Extent} [extent]
|
||||||
|
* @property {boolean} [opaque]
|
||||||
|
* @property {number} [tilePixelRatio]
|
||||||
|
* @property {module:ol/proj~ProjectionLike} [projection]
|
||||||
|
* @property {ol.source.State} [state]
|
||||||
|
* @property {ol.tilegrid.TileGrid} [tileGrid]
|
||||||
|
* @property {boolean} [wrapX=true]
|
||||||
|
* @property {number} [transition]
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
* Abstract base class; normally only used for creating subclasses and not
|
* Abstract base class; normally only used for creating subclasses and not
|
||||||
@@ -21,7 +36,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @abstract
|
* @abstract
|
||||||
* @extends {ol.source.Source}
|
* @extends {ol.source.Source}
|
||||||
* @param {ol.SourceTileOptions} options Tile source options.
|
* @param {module:ol/source/SourceTile~Options} options SourceTile source options.
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
const TileSource = function(options) {
|
const TileSource = function(options) {
|
||||||
|
|||||||
@@ -217,21 +217,6 @@ ol.ReprojTriangle;
|
|||||||
ol.SourceRasterRenderedState;
|
ol.SourceRasterRenderedState;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
|
||||||
* cacheSize: (number|undefined),
|
|
||||||
* extent: (module:ol/extent~Extent|undefined),
|
|
||||||
* opaque: (boolean|undefined),
|
|
||||||
* tilePixelRatio: (number|undefined),
|
|
||||||
* projection: module:ol/proj~ProjectionLike,
|
|
||||||
* state: (ol.source.State|undefined),
|
|
||||||
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
|
||||||
* wrapX: (boolean|undefined),
|
|
||||||
* transition: (number|undefined)}}
|
|
||||||
*/
|
|
||||||
ol.SourceTileOptions;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||||
* cacheSize: (number|undefined),
|
* cacheSize: (number|undefined),
|
||||||
|
|||||||
Reference in New Issue
Block a user