Add devicePixelRatio to ol.FrameState
This commit is contained in:
committed by
Tom Payne
parent
01a246ca72
commit
bd1107f785
@@ -20,6 +20,7 @@ goog.require('ol.layer.LayerState');
|
||||
* @typedef {{animate: boolean,
|
||||
* attributions: Object.<string, ol.Attribution>,
|
||||
* coordinateToPixelMatrix: goog.vec.Mat4.Number,
|
||||
* devicePixelRatio: number,
|
||||
* extent: (null|ol.Extent),
|
||||
* focus: ol.Coordinate,
|
||||
* index: number,
|
||||
|
||||
@@ -1076,6 +1076,7 @@ ol.Map.prototype.renderFrame_ = function(time) {
|
||||
animate: false,
|
||||
attributions: {},
|
||||
coordinateToPixelMatrix: this.coordinateToPixelMatrix_,
|
||||
devicePixelRatio: this.devicePixelRatio_,
|
||||
extent: null,
|
||||
focus: goog.isNull(this.focus_) ? view2DState.center : this.focus_,
|
||||
index: this.frameIndex_++,
|
||||
|
||||
Reference in New Issue
Block a user