Inline simple !goog.isDef() checks
This commit is contained in:
@@ -485,7 +485,7 @@ ol.render.canvas.Immediate.prototype.drawFeature = function(feature, style) {
|
||||
return;
|
||||
}
|
||||
var zIndex = style.getZIndex();
|
||||
if (!goog.isDef(zIndex)) {
|
||||
if (zIndex === undefined) {
|
||||
zIndex = 0;
|
||||
}
|
||||
this.drawAsync(zIndex, function(render) {
|
||||
|
||||
Reference in New Issue
Block a user