Remove ol.SourceTileOptions

This commit is contained in:
Florent gravin
2018-03-28 16:43:33 +02:00
parent f9452fb76b
commit aa138feb94
2 changed files with 16 additions and 16 deletions

View File

@@ -12,6 +12,21 @@ import Source from '../source/Source.js';
import {getKeyZXY, withinExtentAndZ} from '../tilecoord.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
* Abstract base class; normally only used for creating subclasses and not
@@ -21,7 +36,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
* @constructor
* @abstract
* @extends {ol.source.Source}
* @param {ol.SourceTileOptions} options Tile source options.
* @param {module:ol/source/SourceTile~Options} options SourceTile source options.
* @api
*/
const TileSource = function(options) {

View File

@@ -217,21 +217,6 @@ ol.ReprojTriangle;
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),
* cacheSize: (number|undefined),