Remove ol.SourceUrlTileOptions
This commit is contained in:
@@ -36,7 +36,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
|
||||
* @constructor
|
||||
* @abstract
|
||||
* @extends {ol.source.Source}
|
||||
* @param {module:ol/source/SourceTile~Options} options SourceTile source options.
|
||||
* @param {module:ol/source/SourceTile~Options=} options SourceTile source options.
|
||||
* @api
|
||||
*/
|
||||
const TileSource = function(options) {
|
||||
|
||||
@@ -8,6 +8,25 @@ import TileSource, {TileSourceEvent} from '../source/Tile.js';
|
||||
import TileEventType from '../source/TileEventType.js';
|
||||
import {getKeyZXY} from '../tilecoord.js';
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {ol.AttributionLike} [attributions]
|
||||
* @property {number} [cacheSize]
|
||||
* @property {module:ol/extent~Extent} [extent]
|
||||
* @property {boolean} [opaque]
|
||||
* @property {module:ol/proj~ProjectionLike} [projection]
|
||||
* @property {ol.source.State} [state]
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid]
|
||||
* @property {module:ol/Tile~LoadFunction} tileLoadFunction
|
||||
* @property {number} [tilePixelRatio]
|
||||
* @property {module:ol/Tile~UrlFunction} [tileUrlFunction]
|
||||
* @property {string} [url]
|
||||
* @property {Array.<string>} [urls]
|
||||
* @property {boolean} [wrapX=true]
|
||||
* @property {number} [transition]
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Base class for sources providing tiles divided into a tile grid over http.
|
||||
@@ -16,7 +35,7 @@ import {getKeyZXY} from '../tilecoord.js';
|
||||
* @abstract
|
||||
* @fires ol.source.Tile.Event
|
||||
* @extends {ol.source.Tile}
|
||||
* @param {ol.SourceUrlTileOptions} options Image tile options.
|
||||
* @param {module:ol/source/UrlTile~Options=} options Image tile options.
|
||||
*/
|
||||
const UrlTile = function(options) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user