Remove ol.SourceUrlTileOptions
This commit is contained in:
@@ -36,7 +36,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @abstract
|
* @abstract
|
||||||
* @extends {ol.source.Source}
|
* @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
|
* @api
|
||||||
*/
|
*/
|
||||||
const TileSource = function(options) {
|
const TileSource = function(options) {
|
||||||
|
|||||||
@@ -8,6 +8,25 @@ import TileSource, {TileSourceEvent} from '../source/Tile.js';
|
|||||||
import TileEventType from '../source/TileEventType.js';
|
import TileEventType from '../source/TileEventType.js';
|
||||||
import {getKeyZXY} from '../tilecoord.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
|
* @classdesc
|
||||||
* Base class for sources providing tiles divided into a tile grid over http.
|
* Base class for sources providing tiles divided into a tile grid over http.
|
||||||
@@ -16,7 +35,7 @@ import {getKeyZXY} from '../tilecoord.js';
|
|||||||
* @abstract
|
* @abstract
|
||||||
* @fires ol.source.Tile.Event
|
* @fires ol.source.Tile.Event
|
||||||
* @extends {ol.source.Tile}
|
* @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) {
|
const UrlTile = function(options) {
|
||||||
|
|
||||||
|
|||||||
@@ -217,25 +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),
|
|
||||||
* projection: module:ol/proj~ProjectionLike,
|
|
||||||
* state: (ol.source.State|undefined),
|
|
||||||
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
|
||||||
* tileLoadFunction: module:ol/Tile~LoadFunction,
|
|
||||||
* tilePixelRatio: (number|undefined),
|
|
||||||
* tileUrlFunction: (module:ol/Tile~UrlFunction|undefined),
|
|
||||||
* url: (string|undefined),
|
|
||||||
* urls: (Array.<string>|undefined),
|
|
||||||
* wrapX: (boolean|undefined),
|
|
||||||
* transition: (number|undefined)}}
|
|
||||||
*/
|
|
||||||
ol.SourceUrlTileOptions;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A function that takes an {@link module:ol/Feature~Feature} as argument and returns an
|
* A function that takes an {@link module:ol/Feature~Feature} as argument and returns an
|
||||||
* {@link module:ol/geom/Geometry~Geometry} that will be rendered and styled for the feature.
|
* {@link module:ol/geom/Geometry~Geometry} that will be rendered and styled for the feature.
|
||||||
|
|||||||
Reference in New Issue
Block a user