From 26df575bfec6d8505df17c300bcd24b21b1e3e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 26 Aug 2014 10:36:27 +0200 Subject: [PATCH] Add @api stable annotations for GeoJSON format --- externs/olx.js | 4 ++-- src/ol/format/geojsonformat.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/externs/olx.js b/externs/olx.js index b7ae6e73ea..de8a6bce6c 100644 --- a/externs/olx.js +++ b/externs/olx.js @@ -1347,7 +1347,7 @@ olx.format.GeoJSONOptions; /** * Default data projection. * @type {ol.proj.ProjectionLike} - * @api + * @api stable */ olx.format.GeoJSONOptions.prototype.defaultDataProjection; @@ -1355,7 +1355,7 @@ olx.format.GeoJSONOptions.prototype.defaultDataProjection; /** * Geometry name to use when creating features. * @type {string|undefined} - * @api + * @api stable */ olx.format.GeoJSONOptions.prototype.geometryName; diff --git a/src/ol/format/geojsonformat.js b/src/ol/format/geojsonformat.js index 1897772a5b..098cb7fffd 100644 --- a/src/ol/format/geojsonformat.js +++ b/src/ol/format/geojsonformat.js @@ -28,7 +28,7 @@ goog.require('ol.proj'); * @constructor * @extends {ol.format.JSONFeature} * @param {olx.format.GeoJSONOptions=} opt_options Options. - * @api + * @api stable */ ol.format.GeoJSON = function(opt_options) { @@ -350,7 +350,7 @@ ol.format.GeoJSON.prototype.getExtensions = function() { * @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.GeoJSON.prototype.readFeature; @@ -363,7 +363,7 @@ ol.format.GeoJSON.prototype.readFeature; * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @param {olx.format.ReadOptions=} opt_options Read options. * @return {Array.} Features. - * @api + * @api stable */ ol.format.GeoJSON.prototype.readFeatures; @@ -426,7 +426,7 @@ ol.format.GeoJSON.prototype.readFeaturesFromObject = function( * @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.GeoJSON.prototype.readGeometry; @@ -447,7 +447,7 @@ ol.format.GeoJSON.prototype.readGeometryFromObject = function( * @function * @param {ArrayBuffer|Document|Node|Object|string} source Source. * @return {ol.proj.Projection} Projection. - * @api + * @api stable */ ol.format.GeoJSON.prototype.readProjection; @@ -484,7 +484,7 @@ ol.format.GeoJSON.prototype.readProjectionFromObject = function(object) { * @param {ol.Feature} feature Feature. * @param {olx.format.WriteOptions} options Write options. * @return {GeoJSONFeature} GeoJSON. - * @api + * @api stable */ ol.format.GeoJSON.prototype.writeFeature; @@ -523,7 +523,7 @@ ol.format.GeoJSON.prototype.writeFeatureObject = function( * @param {Array.} features Features. * @param {olx.format.WriteOptions} options Write options. * @return {GeoJSONObject} GeoJSON. - * @api + * @api stable */ ol.format.GeoJSON.prototype.writeFeatures; @@ -552,7 +552,7 @@ ol.format.GeoJSON.prototype.writeFeaturesObject = * @param {ol.geom.Geometry} geometry Geometry. * @param {olx.format.WriteOptions} options Write options. * @return {GeoJSONGeometry|GeoJSONGeometryCollection} GeoJSON. - * @api + * @api stable */ ol.format.GeoJSON.prototype.writeGeometry;