Use interim tiles when changing dynamic parameters

This commit is contained in:
Éric Lemoine
2015-11-06 16:50:57 +01:00
parent 9cf26f1fac
commit 132861e175
10 changed files with 222 additions and 31 deletions

View File

@@ -226,6 +226,16 @@ ol.structs.LRUCache.prototype.pop = function() {
};
/**
* @param {string} key Key.
* @param {T} value Value.
*/
ol.structs.LRUCache.prototype.replace = function(key, value) {
this.get(key); // update `newest_`
this.entries_[key].value_ = value;
};
/**
* @param {string} key Key.
* @param {T} value Value.