Remove goog.isNull in format classes
This commit is contained in:
@@ -202,7 +202,7 @@ ol.format.IGC.prototype.readFeatures;
|
||||
*/
|
||||
ol.format.IGC.prototype.readFeaturesFromText = function(text, opt_options) {
|
||||
var feature = this.readFeatureFromText(text, opt_options);
|
||||
if (!goog.isNull(feature)) {
|
||||
if (feature) {
|
||||
return [feature];
|
||||
} else {
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user