Merge pull request #6918 from ahocevar/image-reproject-pixelratio
Remove unnecessary pixelRatio check
This commit is contained in:
@@ -101,7 +101,6 @@ ol.source.Image.prototype.getImage = function(extent, resolution, pixelRatio, pr
|
|||||||
ol.proj.equivalent(
|
ol.proj.equivalent(
|
||||||
this.reprojectedImage_.getProjection(), projection) &&
|
this.reprojectedImage_.getProjection(), projection) &&
|
||||||
this.reprojectedImage_.getResolution() == resolution &&
|
this.reprojectedImage_.getResolution() == resolution &&
|
||||||
this.reprojectedImage_.getPixelRatio() == pixelRatio &&
|
|
||||||
ol.extent.equals(this.reprojectedImage_.getExtent(), extent)) {
|
ol.extent.equals(this.reprojectedImage_.getExtent(), extent)) {
|
||||||
return this.reprojectedImage_;
|
return this.reprojectedImage_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user