Remove ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK

This commit is contained in:
Frederic Junod
2016-02-29 14:50:46 +01:00
parent 58d8b290af
commit 9819aa38f5
4 changed files with 16 additions and 13 deletions

View File

@@ -1,6 +1,5 @@
goog.provide('ol.TileCache');
goog.require('ol');
goog.require('ol.TileRange');
goog.require('ol.structs.LRUCache');
goog.require('ol.tilecoord');
@@ -20,8 +19,7 @@ ol.TileCache = function(opt_highWaterMark) {
* @private
* @type {number}
*/
this.highWaterMark_ = opt_highWaterMark !== undefined ?
opt_highWaterMark : ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK;
this.highWaterMark_ = opt_highWaterMark !== undefined ? opt_highWaterMark : 2048;
};
goog.inherits(ol.TileCache, ol.structs.LRUCache);