Add @api stable annotations for GML format
This commit is contained in:
+7
-7
@@ -1448,7 +1448,7 @@ olx.format.GMLOptions;
|
|||||||
/**
|
/**
|
||||||
* Feature namespace.
|
* Feature namespace.
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.featureNS;
|
olx.format.GMLOptions.prototype.featureNS;
|
||||||
|
|
||||||
@@ -1456,7 +1456,7 @@ olx.format.GMLOptions.prototype.featureNS;
|
|||||||
/**
|
/**
|
||||||
* Feature type to parse.
|
* Feature type to parse.
|
||||||
* @type {string}
|
* @type {string}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.featureType;
|
olx.format.GMLOptions.prototype.featureType;
|
||||||
|
|
||||||
@@ -1473,7 +1473,7 @@ olx.format.GMLOptions.prototype.srsName;
|
|||||||
* Write gml:Surface instead of gml:Polygon elements. This also affects the
|
* Write gml:Surface instead of gml:Polygon elements. This also affects the
|
||||||
* elements in multi-part geometries. Default is `false`.
|
* elements in multi-part geometries. Default is `false`.
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.surface;
|
olx.format.GMLOptions.prototype.surface;
|
||||||
|
|
||||||
@@ -1482,7 +1482,7 @@ olx.format.GMLOptions.prototype.surface;
|
|||||||
* Write gml:Curve instead of gml:LineString elements. This also affects the
|
* Write gml:Curve instead of gml:LineString elements. This also affects the
|
||||||
* elements in multi-part geometries. Default is `false`.
|
* elements in multi-part geometries. Default is `false`.
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.curve;
|
olx.format.GMLOptions.prototype.curve;
|
||||||
|
|
||||||
@@ -1491,7 +1491,7 @@ olx.format.GMLOptions.prototype.curve;
|
|||||||
* Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is
|
* Write gml:MultiCurve instead of gml:MultiLineString. Since the latter is
|
||||||
* deprecated in GML 3, the default is `true`.
|
* deprecated in GML 3, the default is `true`.
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.multiCurve;
|
olx.format.GMLOptions.prototype.multiCurve;
|
||||||
|
|
||||||
@@ -1500,7 +1500,7 @@ olx.format.GMLOptions.prototype.multiCurve;
|
|||||||
* Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is
|
* Write gml:multiSurface instead of gml:MultiPolygon. Since the latter is
|
||||||
* deprecated in GML 3, the default is `true`.
|
* deprecated in GML 3, the default is `true`.
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.multiSurface;
|
olx.format.GMLOptions.prototype.multiSurface;
|
||||||
|
|
||||||
@@ -1509,7 +1509,7 @@ olx.format.GMLOptions.prototype.multiSurface;
|
|||||||
* Optional schemaLocation to use when writing out the GML, this will override
|
* Optional schemaLocation to use when writing out the GML, this will override
|
||||||
* the default provided.
|
* the default provided.
|
||||||
* @type {string|undefined}
|
* @type {string|undefined}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.GMLOptions.prototype.schemaLocation;
|
olx.format.GMLOptions.prototype.schemaLocation;
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ goog.require('ol.xml');
|
|||||||
* @param {olx.format.GMLOptions=} opt_options
|
* @param {olx.format.GMLOptions=} opt_options
|
||||||
* Optional configuration object.
|
* Optional configuration object.
|
||||||
* @extends {ol.format.XMLFeature}
|
* @extends {ol.format.XMLFeature}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.GML = function(opt_options) {
|
ol.format.GML = function(opt_options) {
|
||||||
var options = /** @type {olx.format.GMLOptions} */
|
var options = /** @type {olx.format.GMLOptions} */
|
||||||
@@ -1056,7 +1056,7 @@ ol.format.GML.prototype.readGeometryFromNode = function(node, opt_options) {
|
|||||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||||
* @param {olx.format.ReadOptions=} opt_options Options.
|
* @param {olx.format.ReadOptions=} opt_options Options.
|
||||||
* @return {Array.<ol.Feature>} Features.
|
* @return {Array.<ol.Feature>} Features.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.GML.prototype.readFeatures;
|
ol.format.GML.prototype.readFeatures;
|
||||||
|
|
||||||
@@ -1725,7 +1725,7 @@ ol.format.GML.prototype.writeGeometryNode = function(geometry, opt_options) {
|
|||||||
* @param {Array.<ol.Feature>} features Features.
|
* @param {Array.<ol.Feature>} features Features.
|
||||||
* @param {olx.format.WriteOptions=} opt_options Options.
|
* @param {olx.format.WriteOptions=} opt_options Options.
|
||||||
* @return {Node} Result.
|
* @return {Node} Result.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.GML.prototype.writeFeatures;
|
ol.format.GML.prototype.writeFeatures;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user