Merge pull request #2875 from tschaub/orphan-logos
Avoid modifying `map.logos_` with each frame.
This commit is contained in:
@@ -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: [],
|
||||
|
||||
Reference in New Issue
Block a user