Remove olx.source.TileDebugOptions
This commit is contained in:
@@ -483,30 +483,6 @@ olx.source.MapQuestOptions.prototype.tileLoadFunction;
|
||||
olx.source.MapQuestOptions.prototype.url;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{projection: ol.ProjectionLike,
|
||||
* tileGrid: (ol.tilegrid.TileGrid|undefined),
|
||||
* wrapX: (boolean|undefined)}}
|
||||
*/
|
||||
olx.source.TileDebugOptions;
|
||||
|
||||
|
||||
/**
|
||||
* Projection.
|
||||
* @type {ol.ProjectionLike}
|
||||
* @api
|
||||
*/
|
||||
olx.source.TileDebugOptions.prototype.projection;
|
||||
|
||||
|
||||
/**
|
||||
* Tile grid.
|
||||
* @type {ol.tilegrid.TileGrid|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.TileDebugOptions.prototype.tileGrid;
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {{attributions: (ol.AttributionLike|undefined),
|
||||
* cacheSize: (number|undefined),
|
||||
|
||||
@@ -75,6 +75,14 @@ LabeledTile.prototype.getImage = function() {
|
||||
LabeledTile.prototype.load = function() {};
|
||||
|
||||
|
||||
/**
|
||||
* @typedef {Object} Options
|
||||
* @property {ol.ProjectionLike} projection Projection.
|
||||
* @property {ol.tilegrid.TileGrid} [tileGrid] Tile grid.
|
||||
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* A pseudo tile source, which does not fetch tiles from a server, but renders
|
||||
@@ -85,7 +93,7 @@ LabeledTile.prototype.load = function() {};
|
||||
*
|
||||
* @constructor
|
||||
* @extends {ol.source.Tile}
|
||||
* @param {olx.source.TileDebugOptions} options Debug tile options.
|
||||
* @param {module:ol/source/TileDebug~Options=} options Debug tile options.
|
||||
* @api
|
||||
*/
|
||||
const TileDebug = function(options) {
|
||||
|
||||
Reference in New Issue
Block a user