From 03fa9965c5c7eff59f8e3c3e1b4e42bafe9a5db6 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Sat, 25 Oct 2014 23:54:42 -0600 Subject: [PATCH] Avoid modifying map.logos_ with each frame --- src/ol/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/map.js b/src/ol/map.js index 080d7d39c3..95e4acfca4 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -1209,7 +1209,7 @@ ol.Map.prototype.renderFrame_ = function(time) { index: this.frameIndex_++, layerStates: layerStates, layerStatesArray: layerStatesArray, - logos: this.logos_, + logos: goog.object.clone(this.logos_), pixelRatio: this.pixelRatio_, pixelToCoordinateMatrix: this.pixelToCoordinateMatrix_, postRenderFunctions: [],