Remove goog.isNull in source classes
This commit is contained in:
@@ -223,7 +223,7 @@ ol.source.ImageWMS.prototype.getImage =
|
||||
extent[3] = centerY + imageResolution * height / 2;
|
||||
|
||||
var image = this.image_;
|
||||
if (!goog.isNull(image) &&
|
||||
if (image &&
|
||||
this.renderedRevision_ == this.getRevision() &&
|
||||
image.getResolution() == resolution &&
|
||||
image.getPixelRatio() == pixelRatio &&
|
||||
|
||||
Reference in New Issue
Block a user