Don't fail when no featues are found in ol.format.TopoJSON
This commit is contained in:
@@ -302,7 +302,6 @@ ol.format.TopoJSON.prototype.readFeaturesFromObject = function(object) {
|
|||||||
}
|
}
|
||||||
return features;
|
return features;
|
||||||
} else {
|
} else {
|
||||||
goog.asserts.fail();
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user