Rename devicePixelRatio to pixelRatio in ol.FrameState
This commit is contained in:
@@ -89,7 +89,7 @@ ol.renderer.dom.ImageLayer.prototype.prepareFrame =
|
||||
|
||||
if (!hints[ol.ViewHint.ANIMATING] && !hints[ol.ViewHint.INTERACTING]) {
|
||||
var image_ = imageSource.getImage(frameState.extent, viewResolution,
|
||||
frameState.devicePixelRatio, view2DState.projection);
|
||||
frameState.pixelRatio, view2DState.projection);
|
||||
if (!goog.isNull(image_)) {
|
||||
var imageState = image_.getState();
|
||||
if (imageState == ol.ImageState.IDLE) {
|
||||
|
||||
Reference in New Issue
Block a user