Add @api stable annotations for TopoJSON format
This commit is contained in:
+1
-1
@@ -1386,7 +1386,7 @@ olx.format.TopoJSONOptions;
|
|||||||
/**
|
/**
|
||||||
* Default data projection.
|
* Default data projection.
|
||||||
* @type {ol.proj.ProjectionLike}
|
* @type {ol.proj.ProjectionLike}
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
olx.format.TopoJSONOptions.prototype.defaultDataProjection;
|
olx.format.TopoJSONOptions.prototype.defaultDataProjection;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ goog.require('ol.proj');
|
|||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.format.JSONFeature}
|
* @extends {ol.format.JSONFeature}
|
||||||
* @param {olx.format.TopoJSONOptions=} opt_options Options.
|
* @param {olx.format.TopoJSONOptions=} opt_options Options.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.TopoJSON = function(opt_options) {
|
ol.format.TopoJSON = function(opt_options) {
|
||||||
|
|
||||||
@@ -276,7 +276,7 @@ ol.format.TopoJSON.readFeatureFromGeometry_ = function(object, arcs,
|
|||||||
* @function
|
* @function
|
||||||
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
* @param {ArrayBuffer|Document|Node|Object|string} source Source.
|
||||||
* @return {Array.<ol.Feature>} Features.
|
* @return {Array.<ol.Feature>} Features.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.TopoJSON.prototype.readFeatures;
|
ol.format.TopoJSON.prototype.readFeatures;
|
||||||
|
|
||||||
@@ -387,7 +387,7 @@ ol.format.TopoJSON.transformVertex_ = function(vertex, scale, translate) {
|
|||||||
* @function
|
* @function
|
||||||
* @param {ArrayBuffer|Document|Node|Object|string} object Source.
|
* @param {ArrayBuffer|Document|Node|Object|string} object Source.
|
||||||
* @return {ol.proj.Projection} Projection.
|
* @return {ol.proj.Projection} Projection.
|
||||||
* @api
|
* @api stable
|
||||||
*/
|
*/
|
||||||
ol.format.TopoJSON.prototype.readProjection = function(object) {
|
ol.format.TopoJSON.prototype.readProjection = function(object) {
|
||||||
return this.defaultDataProjection;
|
return this.defaultDataProjection;
|
||||||
|
|||||||
Reference in New Issue
Block a user