From e0c173bd24a5eda37b626edac64980a3fbfa6734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 26 Aug 2014 10:42:47 +0200 Subject: [PATCH] Add @api stable annotations for KML format --- externs/olx.js | 4 ++-- src/ol/format/kmlformat.js | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index c7888f6061..92865f3db0 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1418,7 +1418,7 @@ olx.format.KMLOptions; /** * Extract styles from the KML. Default is `true`. * @type {boolean|undefined} - * @api + * @api stable */ olx.format.KMLOptions.prototype.extractStyles; @@ -1426,7 +1426,7 @@ olx.format.KMLOptions.prototype.extractStyles; /** * Default style. The default default style is the same as Google Earth. * @type {Array.|undefined} - * @api + * @api stable */ olx.format.KMLOptions.prototype.defaultStyle; diff --git a/src/ol/format/kmlformat.js b/src/ol/format/kmlformat.js index 57c7625997..656b946c9c 100644 --- a/src/ol/format/kmlformat.js +++ b/src/ol/format/kmlformat.js @@ -64,7 +64,7 @@ ol.format.KMLGxTrackObject_; * @constructor * @extends {ol.format.XMLFeature} * @param {olx.format.KMLOptions=} opt_options Options. - * @api + * @api stable */ ol.format.KML = function(opt_options) { @@ -1509,7 +1509,7 @@ ol.format.KML.prototype.readSharedStyleMap_ = function(node, objectStack) { * @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.KML.prototype.readFeature; @@ -1540,7 +1540,7 @@ ol.format.KML.prototype.readFeatureFromNode = function(node, 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.KML.prototype.readFeatures; @@ -1591,7 +1591,7 @@ ol.format.KML.prototype.readFeaturesFromNode = function(node, opt_options) { /** * @param {Document|Node|string} source Souce. * @return {string|undefined} Name. - * @api + * @api stable */ ol.format.KML.prototype.readName = function(source) { if (ol.xml.isDocument(source)) { @@ -1661,7 +1661,7 @@ ol.format.KML.prototype.readNameFromNode = function(node) { * @function * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {ol.proj.Projection} Projection. - * @api + * @api stable */ ol.format.KML.prototype.readProjection; @@ -2526,7 +2526,7 @@ ol.format.KML.OUTER_BOUNDARY_NODE_FACTORY_ = * @param {Array.} features Features. * @param {olx.format.WriteOptions=} opt_options Options. * @return {Node} Result. - * @api + * @api stable */ ol.format.KML.prototype.writeFeatures;