Merge pull request #7499 from openlayers/rm_attributions_FrameState

Remove attributions from olx.FrameState instances
This commit is contained in:
Frédéric Junod
2017-11-28 08:24:23 +01:00
committed by GitHub
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -1141,7 +1141,6 @@ ol.PluggableMap.prototype.renderFrame_ = function(time) {
viewState = view.getState(); viewState = view.getState();
frameState = /** @type {olx.FrameState} */ ({ frameState = /** @type {olx.FrameState} */ ({
animate: false, animate: false,
attributions: {},
coordinateToPixelTransform: this.coordinateToPixelTransform_, coordinateToPixelTransform: this.coordinateToPixelTransform_,
extent: extent, extent: extent,
focus: !this.focus_ ? viewState.center : this.focus_, focus: !this.focus_ ? viewState.center : this.focus_,
-1
View File
@@ -107,7 +107,6 @@ ol.source.Raster = function(options) {
*/ */
this.frameState_ = { this.frameState_ = {
animate: false, animate: false,
attributions: {},
coordinateToPixelTransform: ol.transform.create(), coordinateToPixelTransform: ol.transform.create(),
extent: null, extent: null,
focus: null, focus: null,