Handle concrete classes with non implemented abstract methods

This commit is contained in:
Guillaume Beraudo
2017-01-13 23:39:39 +01:00
parent 7a7c01a074
commit b54ea89395
8 changed files with 105 additions and 13 deletions
+16
View File
@@ -416,3 +416,19 @@ ol.format.TopoJSON.prototype.writeFeaturesObject = function(features, opt_option
* @inheritDoc
*/
ol.format.TopoJSON.prototype.writeGeometryObject = function(geometry, opt_options) {};
/**
* @override
*/
ol.format.TopoJSON.prototype.readGeometryFromObject = function() {
throw new Error('Not implemented');
};
/**
* @override
*/
ol.format.TopoJSON.prototype.readFeatureFromObject = function() {
throw new Error('Not implemented');
};