Merge pull request #6918 from ahocevar/image-reproject-pixelratio

Remove unnecessary pixelRatio check
This commit is contained in:
Andreas Hocevar
2017-06-13 13:07:31 +02:00
committed by GitHub

View File

@@ -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_;
}