Add @api stable annotations for TopoJSON format

This commit is contained in:
Éric Lemoine
2014-08-26 10:46:05 +02:00
parent ceb0cc54ce
commit de4131f207
2 changed files with 4 additions and 4 deletions

View File

@@ -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.<ol.Feature>} 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;