[ol.TileCache] tile cache size is not 1
This commit is contained in:
@@ -9,13 +9,7 @@ goog.require('goog.structs.LinkedMap');
|
||||
* @param {number=} opt_size
|
||||
*/
|
||||
ol.TileCache = function(opt_size) {
|
||||
/**
|
||||
* @constant
|
||||
* @type {number}
|
||||
*/
|
||||
this.size_ = opt_size || 100;
|
||||
|
||||
goog.base(this, 1, true /* cache mode */);
|
||||
goog.base(this, opt_size || 100, true /* cache mode */);
|
||||
};
|
||||
|
||||
goog.inherits(ol.TileCache, goog.structs.LinkedMap);
|
||||
|
||||
Reference in New Issue
Block a user