Exports for ol.format.GML and ol.format.WFS

This commit is contained in:
Bart van den Eijnden
2014-05-27 15:30:46 +02:00
parent 7732a10bbf
commit 86b9a8869b
2 changed files with 33 additions and 0 deletions

View File

@@ -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.<ol.Feature>} 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.<ol.Feature>} features Features.
* @return {ArrayBuffer|Node|Object|string} Result.
*/
ol.format.GML.prototype.writeFeatures;
/**
* @inheritDoc
*/

View File

@@ -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.<ol.Feature>} 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;