isDefAndNotNull -> !isNull
This commit is contained in:
@@ -107,7 +107,7 @@ ol.renderer.dom.ImageLayer.prototype.prepareFrame =
|
||||
!ol.extent.isEmpty(renderedExtent)) {
|
||||
var projection = viewState.projection;
|
||||
var sourceProjection = imageSource.getProjection();
|
||||
if (goog.isDefAndNotNull(sourceProjection)) {
|
||||
if (!goog.isNull(sourceProjection)) {
|
||||
goog.asserts.assert(ol.proj.equivalent(projection, sourceProjection));
|
||||
projection = sourceProjection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user