From 1f9ab586232ea6a66046669ca6efaab433695f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 26 Aug 2014 10:38:14 +0200 Subject: [PATCH] Add @api stable annotations for GML format --- externs/olx.js | 14 +++++++------- src/ol/format/gmlformat.js | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index de8a6bce6c..4c3c2d8d38 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1448,7 +1448,7 @@ olx.format.GMLOptions; /** * Feature namespace. * @type {string} - * @api + * @api stable */ olx.format.GMLOptions.prototype.featureNS; @@ -1456,7 +1456,7 @@ olx.format.GMLOptions.prototype.featureNS; /** * Feature type to parse. * @type {string} - * @api + * @api stable */ 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 * elements in multi-part geometries. Default is `false`. * @type {boolean|undefined} - * @api + * @api stable */ 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 * elements in multi-part geometries. Default is `false`. * @type {boolean|undefined} - * @api + * @api stable */ 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 * deprecated in GML 3, the default is `true`. * @type {boolean|undefined} - * @api + * @api stable */ 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 * deprecated in GML 3, the default is `true`. * @type {boolean|undefined} - * @api + * @api stable */ 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 * the default provided. * @type {string|undefined} - * @api + * @api stable */ olx.format.GMLOptions.prototype.schemaLocation; diff --git a/src/ol/format/gmlformat.js b/src/ol/format/gmlformat.js index dd174edd7f..d235fc3ac5 100644 --- a/src/ol/format/gmlformat.js +++ b/src/ol/format/gmlformat.js @@ -36,7 +36,7 @@ goog.require('ol.xml'); * @param {olx.format.GMLOptions=} opt_options * Optional configuration object. * @extends {ol.format.XMLFeature} - * @api + * @api stable */ ol.format.GML = function(opt_options) { 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 {olx.format.ReadOptions=} opt_options Options. * @return {Array.} Features. - * @api + * @api stable */ ol.format.GML.prototype.readFeatures; @@ -1725,7 +1725,7 @@ ol.format.GML.prototype.writeGeometryNode = function(geometry, opt_options) { * @param {Array.} features Features. * @param {olx.format.WriteOptions=} opt_options Options. * @return {Node} Result. - * @api + * @api stable */ ol.format.GML.prototype.writeFeatures;