Merge pull request #2875 from tschaub/orphan-logos

Avoid modifying `map.logos_` with each frame.
This commit is contained in:
Tim Schaub
2014-10-26 13:11:54 -06:00

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