Remove goog.isNull in style classes
This commit is contained in:
@@ -59,7 +59,7 @@ ol.style.Fill.prototype.setColor = function(color) {
|
||||
*/
|
||||
ol.style.Fill.prototype.getChecksum = function() {
|
||||
if (this.checksum_ === undefined) {
|
||||
this.checksum_ = 'f' + (!goog.isNull(this.color_) ?
|
||||
this.checksum_ = 'f' + (this.color_ ?
|
||||
ol.color.asString(this.color_) : '-');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user