Remove olx.source.TileDebugOptions

This commit is contained in:
Florent gravin
2018-03-28 16:49:39 +02:00
parent aa138feb94
commit 3ec2cb1e6a
2 changed files with 9 additions and 25 deletions

View File

@@ -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),

View File

@@ -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) {