Make sure alias ol.format.GML show its content in apidoc

This commit is contained in:
Florent gravin
2014-10-03 11:16:19 +02:00
parent 1a7cbfd6ac
commit d290445048
2 changed files with 30 additions and 16 deletions

View File

@@ -79,22 +79,6 @@ ol.format.GML3 = function(opt_options) {
goog.inherits(ol.format.GML3, ol.format.GMLBase);
/**
* @classdesc
* Feature format for reading and writing data in the GML format
* version 3.1.1.
* Currently only supports GML 3.1.1 Simple Features profile.
*
* @constructor
* @param {olx.format.GMLOptions=} opt_options
* Optional configuration object.
* @extends {ol.format.GMLBase}
* @api stable
*/
ol.format.GML = ol.format.GML3;
/**
* @const
* @type {string}
@@ -1313,3 +1297,31 @@ ol.format.GML3.prototype.writeFeaturesNode = function(features, opt_options) {
this.writeFeatureMembers_(node, features, [context]);
return node;
};
/**
* @classdesc
* Feature format for reading and writing data in the GML format
* version 3.1.1.
* Currently only supports GML 3.1.1 Simple Features profile.
*
* @constructor
* @param {olx.format.GMLOptions=} opt_options
* Optional configuration object.
* @extends {ol.format.GMLBase}
* @api stable
*/
ol.format.GML = ol.format.GML3;
/**
* Encode an array of features in GML 3.1.1 Simple Features.
*
* @function
* @param {Array.<ol.Feature>} features Features.
* @param {olx.format.WriteOptions=} opt_options Options.
* @return {Node} Result.
* @api stable
*/
ol.format.GML.prototype.writeFeatures;

View File

@@ -27,6 +27,8 @@ goog.require('ol.xml');
/**
* @classdesc
* Abstract base class; normally only used for creating subclasses and not
* instantiated in apps.
* Feature base format for reading and writing data in the GML format.
* This class cannot be instantiate, it contains only base content that
* is shared with versioned format classes ol.format.GML2 and