From 29d1590bc6b3ed8bc88ee82d86f073aa9b67e20b Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Tue, 13 Jun 2017 11:12:27 +0200 Subject: [PATCH] Remove unnecessary pixelRatio check --- src/ol/source/image.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ol/source/image.js b/src/ol/source/image.js index 9e07a935ce..8db3474c04 100644 --- a/src/ol/source/image.js +++ b/src/ol/source/image.js @@ -101,7 +101,6 @@ ol.source.Image.prototype.getImage = function(extent, resolution, pixelRatio, pr ol.proj.equivalent( this.reprojectedImage_.getProjection(), projection) && this.reprojectedImage_.getResolution() == resolution && - this.reprojectedImage_.getPixelRatio() == pixelRatio && ol.extent.equals(this.reprojectedImage_.getExtent(), extent)) { return this.reprojectedImage_; }