From c8c59c365716802c247712840307104b4050cd98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 26 Aug 2014 10:50:05 +0200 Subject: [PATCH] Add @api stable annotations for WKT format --- externs/olx.js | 2 +- src/ol/format/wktformat.js | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index 1109de25fe..176034a77b 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1737,7 +1737,7 @@ olx.format.WKTOptions; * Whether to split GeometryCollections into * multiple features on reading. Default is `false`. * @type {boolean|undefined} - * @api + * @api stable */ olx.format.WKTOptions.prototype.splitCollection; diff --git a/src/ol/format/wktformat.js b/src/ol/format/wktformat.js index b90b683429..12e220ea9c 100644 --- a/src/ol/format/wktformat.js +++ b/src/ol/format/wktformat.js @@ -21,7 +21,7 @@ goog.require('ol.geom.Polygon'); * @constructor * @extends {ol.format.TextFeature} * @param {olx.format.WKTOptions=} opt_options Options. - * @api + * @api stable */ ol.format.WKT = function(opt_options) { @@ -211,7 +211,7 @@ ol.format.WKT.prototype.parse_ = function(wkt) { * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @param {olx.format.ReadOptions=} opt_options Read options. * @return {ol.Feature} Feature. - * @api + * @api stable */ ol.format.WKT.prototype.readFeature; @@ -237,7 +237,7 @@ ol.format.WKT.prototype.readFeatureFromText = function(text, opt_options) { * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @param {olx.format.ReadOptions=} opt_options Read options. * @return {Array.} Features. - * @api + * @api stable */ ol.format.WKT.prototype.readFeatures; @@ -272,7 +272,7 @@ ol.format.WKT.prototype.readFeaturesFromText = function(text, opt_options) { * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @param {olx.format.ReadOptions=} opt_options Read options. * @return {ol.geom.Geometry} Geometry. - * @api + * @api stable */ ol.format.WKT.prototype.readGeometry; @@ -306,7 +306,7 @@ ol.format.WKT.prototype.readProjectionFromText = function(text) { * @param {ol.Feature} feature Feature. * @param {olx.format.WriteOptions=} opt_options Write options. * @return {string} WKT string. - * @api + * @api stable */ ol.format.WKT.prototype.writeFeature; @@ -330,7 +330,7 @@ ol.format.WKT.prototype.writeFeatureText = function(feature, opt_options) { * @param {Array.} features Features. * @param {olx.format.WriteOptions=} opt_options Write options. * @return {string} WKT string. - * @api + * @api stable */ ol.format.WKT.prototype.writeFeatures; @@ -357,7 +357,7 @@ ol.format.WKT.prototype.writeFeaturesText = function(features, opt_options) { * @function * @param {ol.geom.Geometry} geometry Geometry. * @return {string} WKT string. - * @api + * @api stable */ ol.format.WKT.prototype.writeGeometry;