Replace goog.isDefAndNotNull() with truthy checks
This commit is contained in:
@@ -292,7 +292,7 @@ ol.renderer.dom.VectorLayer.prototype.prepareFrame =
|
||||
styles = styleFunction(feature, resolution);
|
||||
}
|
||||
}
|
||||
if (goog.isDefAndNotNull(styles)) {
|
||||
if (styles) {
|
||||
var dirty = this.renderFeature(
|
||||
feature, resolution, pixelRatio, styles, replayGroup);
|
||||
this.dirty_ = this.dirty_ || dirty;
|
||||
|
||||
Reference in New Issue
Block a user