Avoid modifying map.logos_ with each frame

This commit is contained in:
Tim Schaub
2014-10-25 23:54:42 -06:00
parent 773ac433ce
commit 03fa9965c5

View File

@@ -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: [],