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
+40
View File
@@ -253,3 +253,43 @@ ol.format.MVT.readGeometry_ = function(rawFeature) {
return geom;
};
/**
* @override
*/
ol.format.MVT.prototype.readFeature = function() {
throw new Error('Not implemented');
};
/**
* @override
*/
ol.format.MVT.prototype.readGeometry = function() {
throw new Error('Not implemented');
};
/**
* @override
*/
ol.format.MVT.prototype.writeFeature = function() {
throw new Error('Not implemented');
};
/**
* @override
*/
ol.format.MVT.prototype.writeGeometry = function() {
throw new Error('Not implemented');
};
/**
* @override
*/
ol.format.MVT.prototype.writeFeatures = function() {
throw new Error('Not implemented');
};