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
+3
View File
@@ -70,6 +70,9 @@ ol.ImageTile.prototype.disposeInternal = function() {
if (this.state == ol.TileState.LOADING) {
this.unlistenImage_();
}
if (this.interimTile) {
goog.dispose(this.interimTile);
}
goog.base(this, 'disposeInternal');
};