From de4131f207f9eed631eb664da392bb328fbf04e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 26 Aug 2014 10:46:05 +0200 Subject: [PATCH] Add @api stable annotations for TopoJSON format --- externs/olx.js | 2 +- src/ol/format/topojsonformat.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index e12b8145cb..e70749c4fc 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1386,7 +1386,7 @@ olx.format.TopoJSONOptions; /** * Default data projection. * @type {ol.proj.ProjectionLike} - * @api + * @api stable */ olx.format.TopoJSONOptions.prototype.defaultDataProjection; diff --git a/src/ol/format/topojsonformat.js b/src/ol/format/topojsonformat.js index afe0d4aa8b..2773f2e621 100644 --- a/src/ol/format/topojsonformat.js +++ b/src/ol/format/topojsonformat.js @@ -22,7 +22,7 @@ goog.require('ol.proj'); * @constructor * @extends {ol.format.JSONFeature} * @param {olx.format.TopoJSONOptions=} opt_options Options. - * @api + * @api stable */ ol.format.TopoJSON = function(opt_options) { @@ -276,7 +276,7 @@ ol.format.TopoJSON.readFeatureFromGeometry_ = function(object, arcs, * @function * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {Array.} Features. - * @api + * @api stable */ ol.format.TopoJSON.prototype.readFeatures; @@ -387,7 +387,7 @@ ol.format.TopoJSON.transformVertex_ = function(vertex, scale, translate) { * @function * @param {ArrayBuffer|Document|Node|Object|string} object Source. * @return {ol.proj.Projection} Projection. - * @api + * @api stable */ ol.format.TopoJSON.prototype.readProjection = function(object) { return this.defaultDataProjection;