Consistently handle not implemented methods

This commit is contained in:
Guillaume Beraudo
2017-01-31 09:21:01 +01:00
parent c9d33fb03a
commit 1c353061fe
4 changed files with 21 additions and 31 deletions
+4 -6
View File
@@ -419,16 +419,14 @@ ol.format.TopoJSON.prototype.writeGeometryObject = function(geometry, opt_option
/**
* Not implemented.
* @override
*/
ol.format.TopoJSON.prototype.readGeometryFromObject = function() {
throw new Error('Not implemented');
};
ol.format.TopoJSON.prototype.readGeometryFromObject = function() {};
/**
* Not implemented.
* @override
*/
ol.format.TopoJSON.prototype.readFeatureFromObject = function() {
throw new Error('Not implemented');
};
ol.format.TopoJSON.prototype.readFeatureFromObject = function() {};