Merge pull request #2875 from tschaub/orphan-logos
Avoid modifying `map.logos_` with each frame.
This commit is contained in:
+1
-1
@@ -1209,7 +1209,7 @@ ol.Map.prototype.renderFrame_ = function(time) {
|
|||||||
index: this.frameIndex_++,
|
index: this.frameIndex_++,
|
||||||
layerStates: layerStates,
|
layerStates: layerStates,
|
||||||
layerStatesArray: layerStatesArray,
|
layerStatesArray: layerStatesArray,
|
||||||
logos: this.logos_,
|
logos: goog.object.clone(this.logos_),
|
||||||
pixelRatio: this.pixelRatio_,
|
pixelRatio: this.pixelRatio_,
|
||||||
pixelToCoordinateMatrix: this.pixelToCoordinateMatrix_,
|
pixelToCoordinateMatrix: this.pixelToCoordinateMatrix_,
|
||||||
postRenderFunctions: [],
|
postRenderFunctions: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user