Module type for ol.TileCache
This commit is contained in:
@@ -55,7 +55,7 @@ const TileSource = function(options) {
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {ol.TileCache}
|
||||
* @type {module:ol/TileCache~TileCache}
|
||||
*/
|
||||
this.tileCache = new TileCache(options.cacheSize);
|
||||
|
||||
@@ -225,7 +225,7 @@ TileSource.prototype.getTileGridForProjection = function(projection) {
|
||||
|
||||
/**
|
||||
* @param {module:ol/proj/Projection~Projection} projection Projection.
|
||||
* @return {ol.TileCache} Tile cache.
|
||||
* @return {module:ol/TileCache~TileCache} Tile cache.
|
||||
* @protected
|
||||
*/
|
||||
TileSource.prototype.getTileCacheForProjection = function(projection) {
|
||||
|
||||
@@ -61,7 +61,7 @@ const TileImage = function(options) {
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {!Object.<string, ol.TileCache>}
|
||||
* @type {!Object.<string, module:ol/TileCache~TileCache>}
|
||||
*/
|
||||
this.tileCacheForProjection = {};
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ VectorTileSource.prototype.getOverlaps = function() {
|
||||
};
|
||||
|
||||
/**
|
||||
* clear {@link ol.TileCache} and delete all source tiles
|
||||
* clear {@link module:ol/TileCache~TileCache} and delete all source tiles
|
||||
* @api
|
||||
*/
|
||||
VectorTileSource.prototype.clear = function() {
|
||||
|
||||
Reference in New Issue
Block a user