Add empty ol.format.TopoJSON.prototype.write*

This commit is contained in:
Frederic Junod
2017-01-12 12:00:49 +01:00
committed by Guillaume Beraudo
parent f8feaeb837
commit 285349eced

View File

@@ -395,3 +395,24 @@ ol.format.TopoJSON.GEOMETRY_READERS_ = {
'MultiLineString': ol.format.TopoJSON.readMultiLineStringGeometry_,
'MultiPolygon': ol.format.TopoJSON.readMultiPolygonGeometry_
};
/**
* Not implemented.
* @inheritDoc
*/
ol.format.TopoJSON.prototype.writeFeatureObject = function(feature, opt_options) {};
/**
* Not implemented.
* @inheritDoc
*/
ol.format.TopoJSON.prototype.writeFeaturesObject = function(features, opt_options) {};
/**
* Not implemented.
* @inheritDoc
*/
ol.format.TopoJSON.prototype.writeGeometryObject = function(geometry, opt_options) {};