Add pixelRatio to ol.source.Image#getImage
This commit is contained in:
@@ -48,7 +48,7 @@ goog.inherits(ol.source.ImageStatic, ol.source.Image);
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.source.ImageStatic.prototype.getImage =
|
||||
function(extent, resolution, projection) {
|
||||
function(extent, resolution, pixelRatio, projection) {
|
||||
if (ol.extent.intersects(extent, this.image_.getExtent())) {
|
||||
return this.image_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user