From 399116ed82af96adb66dfff0f2ae68bd092db837 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 17 Feb 2014 17:39:01 +0100 Subject: [PATCH] Add binary support to ol.format.Format --- src/ol/format/format.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/ol/format/format.js b/src/ol/format/format.js index 022689936b..69cf3ed97b 100644 --- a/src/ol/format/format.js +++ b/src/ol/format/format.js @@ -36,28 +36,28 @@ ol.format.Format.prototype.getType = goog.abstractMethod; /** - * @param {Document|Node|Object|string} source Source. + * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {ol.Feature} Feature. */ ol.format.Format.prototype.readFeature = goog.abstractMethod; /** - * @param {Document|Node|Object|string} source Source. + * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {Array.} Features. */ ol.format.Format.prototype.readFeatures = goog.abstractMethod; /** - * @param {Document|Node|Object|string} source Source. + * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {ol.geom.Geometry} Geometry. */ ol.format.Format.prototype.readGeometry = goog.abstractMethod; /** - * @param {Document|Node|Object|string} source Source. + * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {ol.proj.Projection} Projection. */ ol.format.Format.prototype.readProjection = goog.abstractMethod; @@ -65,20 +65,20 @@ ol.format.Format.prototype.readProjection = goog.abstractMethod; /** * @param {ol.Feature} feature Feature. - * @return {Node|Object|string} Result. + * @return {ArrayBuffer|Node|Object|string} Result. */ ol.format.Format.prototype.writeFeature = goog.abstractMethod; /** * @param {Array.} features Features. - * @return {Node|Object|string} Result. + * @return {ArrayBuffer|Node|Object|string} Result. */ ol.format.Format.prototype.writeFeatures = goog.abstractMethod; /** * @param {ol.geom.Geometry} geometry Geometry. - * @return {Node|Object|string} Node. + * @return {ArrayBuffer|Node|Object|string} Node. */ ol.format.Format.prototype.writeGeometry = goog.abstractMethod;