diff --git a/src/ol/format/gmlformat.js b/src/ol/format/gmlformat.js index 25c2aeb05b..7c6bf515d0 100644 --- a/src/ol/format/gmlformat.js +++ b/src/ol/format/gmlformat.js @@ -28,6 +28,7 @@ goog.require('ol.xml'); * @param {olx.format.GMLOptions=} opt_options * Optional configuration object. * @extends {ol.format.XMLFeature} + * @todo api */ ol.format.GML = function(opt_options) { var options = /** @type {olx.format.GMLOptions} */ @@ -1038,6 +1039,17 @@ ol.format.GML.prototype.readGeometryFromNode = function(node) { }; +/** + * Read all features from a GML FeatureCollection. + * + * @function + * @param {ArrayBuffer|Document|Node|Object|string} source Source. + * @return {Array.} Features. + * @todo api + */ +ol.format.GML.prototype.readFeatures; + + /** * @inheritDoc */ @@ -1669,6 +1681,15 @@ ol.format.GML.prototype.writeGeometryNode = function(geometry) { }; +/** + * Encode an array of features in GML 3.1.1 Simple Features. + * + * @param {Array.} features Features. + * @return {ArrayBuffer|Node|Object|string} Result. + */ +ol.format.GML.prototype.writeFeatures; + + /** * @inheritDoc */ diff --git a/src/ol/format/wfsformat.js b/src/ol/format/wfsformat.js index 3f20f03973..34c6bb9037 100644 --- a/src/ol/format/wfsformat.js +++ b/src/ol/format/wfsformat.js @@ -79,6 +79,17 @@ ol.format.WFS.schemaLocation_ = 'http://www.opengis.net/wfs ' + 'http://schemas.opengis.net/wfs/1.1.0/wfs.xsd'; +/** + * Read all features from a WFS FeatureCollection. + * + * @function + * @param {ArrayBuffer|Document|Node|Object|string} source Source. + * @return {Array.} Features. + * @todo api + */ +ol.format.WFS.prototype.readFeatures; + + /** * @inheritDoc */ @@ -679,6 +690,7 @@ ol.format.WFS.prototype.writeTransaction = function(inserts, updates, deletes, * @function * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {?ol.proj.Projection} Projection. + * @todo api */ ol.format.WFS.prototype.readProjection;