Respect cacheSize for reprojected caches
This commit is contained in:
@@ -194,7 +194,7 @@ ol.source.TileImage.prototype.getTileCacheForProjection = function(projection) {
|
||||
} else {
|
||||
var projKey = ol.getUid(projection).toString();
|
||||
if (!(projKey in this.tileCacheForProjection)) {
|
||||
this.tileCacheForProjection[projKey] = new ol.TileCache();
|
||||
this.tileCacheForProjection[projKey] = new ol.TileCache(this.tileCache.highWaterMark);
|
||||
}
|
||||
return this.tileCacheForProjection[projKey];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user