Inline goog.isDef() property checks
This commit is contained in:
@@ -119,7 +119,7 @@ ol.renderer.dom.TileLayer.prototype.prepareFrame =
|
||||
extent = frameState.extent;
|
||||
}
|
||||
|
||||
if (goog.isDef(layerState.extent)) {
|
||||
if (layerState.extent !== undefined) {
|
||||
extent = ol.extent.getIntersection(extent, layerState.extent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user