Make sure alias ol.format.GML show its content in apidoc
This commit is contained in:
+28
-16
@@ -79,22 +79,6 @@ ol.format.GML3 = function(opt_options) {
|
|||||||
goog.inherits(ol.format.GML3, ol.format.GMLBase);
|
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
|
* @const
|
||||||
* @type {string}
|
* @type {string}
|
||||||
@@ -1313,3 +1297,31 @@ ol.format.GML3.prototype.writeFeaturesNode = function(features, opt_options) {
|
|||||||
this.writeFeatureMembers_(node, features, [context]);
|
this.writeFeatureMembers_(node, features, [context]);
|
||||||
return node;
|
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;
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ goog.require('ol.xml');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @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.
|
* Feature base format for reading and writing data in the GML format.
|
||||||
* This class cannot be instantiate, it contains only base content that
|
* This class cannot be instantiate, it contains only base content that
|
||||||
* is shared with versioned format classes ol.format.GML2 and
|
* is shared with versioned format classes ol.format.GML2 and
|
||||||
|
|||||||
Reference in New Issue
Block a user