From 285349eced3873c2ec18ac8d0400fbca23e04197 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Thu, 12 Jan 2017 12:00:49 +0100 Subject: [PATCH] Add empty ol.format.TopoJSON.prototype.write* --- src/ol/format/topojson.js | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/ol/format/topojson.js b/src/ol/format/topojson.js index 5d8184ec55..c52f2b31f7 100644 --- a/src/ol/format/topojson.js +++ b/src/ol/format/topojson.js @@ -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) {};