diff --git a/src/ol/renderer/canvas/imagelayer.js b/src/ol/renderer/canvas/imagelayer.js index 43b0b015c3..878846926c 100644 --- a/src/ol/renderer/canvas/imagelayer.js +++ b/src/ol/renderer/canvas/imagelayer.js @@ -136,7 +136,7 @@ ol.renderer.canvas.ImageLayer.prototype.prepareFrame = function(frameState, laye this.updateAttributions(frameState.attributions, image.getAttributions()); this.updateLogos(frameState, imageSource); - this.renderedResolution = viewResolution * pixelRatio / imagePixelRatio; + this.renderedResolution = imageResolution * pixelRatio / imagePixelRatio; } return !!this.image_;