diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index 743fb62951..70e8a1882a 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -12,7 +12,7 @@ goog.require('ol.proj'); * `'Polygon'`, `'MultiPoint'`, `'MultiLineString'`, `'MultiPolygon'`, * `'GeometryCollection'`, `'Circle'`. * @enum {string} - * @api + * @api stable */ ol.geom.GeometryType = { POINT: 'Point', @@ -32,7 +32,7 @@ ol.geom.GeometryType = { * or measure ('M') coordinate is available. Supported values are `'XY'`, * `'XYZ'`, `'XYM'`, `'XYZM'`. * @enum {string} - * @api + * @api stable */ ol.geom.GeometryLayout = { XY: 'XY', @@ -52,7 +52,7 @@ ol.geom.GeometryLayout = { * @constructor * @extends {ol.Observable} * @fires change Triggered when the geometry changes. - * @api + * @api stable */ ol.geom.Geometry = function() { @@ -96,7 +96,7 @@ goog.inherits(ol.geom.Geometry, ol.Observable); * Make a complete copy of the geometry. * @function * @return {ol.geom.Geometry} Clone. - * @api + * @api stable */ ol.geom.Geometry.prototype.clone = goog.abstractMethod; @@ -115,7 +115,7 @@ ol.geom.Geometry.prototype.closestPointXY = goog.abstractMethod; * @param {ol.Coordinate} point Point. * @param {ol.Coordinate=} opt_closestPoint Closest point. * @return {ol.Coordinate} Closest point. - * @api + * @api stable */ ol.geom.Geometry.prototype.getClosestPoint = function(point, opt_closestPoint) { var closestPoint = goog.isDef(opt_closestPoint) ? @@ -147,7 +147,7 @@ ol.geom.Geometry.prototype.containsXY = goog.functions.FALSE; * @function * @param {ol.Extent=} opt_extent Extent. * @return {ol.Extent} extent Extent. - * @api + * @api stable */ ol.geom.Geometry.prototype.getExtent = goog.abstractMethod; @@ -159,7 +159,6 @@ ol.geom.Geometry.prototype.getExtent = goog.abstractMethod; * @function * @param {number} squaredTolerance Squared tolerance. * @return {ol.geom.Geometry} Simplified geometry. - * @api */ ol.geom.Geometry.prototype.getSimplifiedGeometry = goog.abstractMethod; @@ -168,7 +167,7 @@ ol.geom.Geometry.prototype.getSimplifiedGeometry = goog.abstractMethod; * Get the type of this geometry. * @function * @return {ol.geom.GeometryType} Geometry type. - * @api + * @api stable */ ol.geom.Geometry.prototype.getType = goog.abstractMethod; @@ -179,7 +178,7 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod; * then use this function on the clone. * @function * @param {ol.TransformFunction} transformFn Transform. - * @api + * @api stable */ ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod; @@ -196,7 +195,7 @@ ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod; * string identifier or a {@link ol.proj.Projection} object. * @return {ol.geom.Geometry} This geometry. Note that original geometry is * modified in place. - * @api + * @api stable */ ol.geom.Geometry.prototype.transform = function(source, destination) { this.applyTransform(ol.proj.getTransform(source, destination)); @@ -207,7 +206,7 @@ ol.geom.Geometry.prototype.transform = function(source, destination) { /** * Array representation of a point. Example: `[16, 48]`. * @typedef {ol.Coordinate} - * @api + * @api stable */ ol.geom.RawPoint; @@ -215,7 +214,7 @@ ol.geom.RawPoint; /** * Array representation of a linestring. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawLineString; @@ -223,7 +222,7 @@ ol.geom.RawLineString; /** * Array representation of a linear ring. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawLinearRing; @@ -231,7 +230,7 @@ ol.geom.RawLinearRing; /** * Array representation of a polygon. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawPolygon; @@ -239,7 +238,7 @@ ol.geom.RawPolygon; /** * Array representation of a multipoint. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawMultiPoint; @@ -247,7 +246,7 @@ ol.geom.RawMultiPoint; /** * Array representation of a multilinestring. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawMultiLineString; @@ -255,6 +254,6 @@ ol.geom.RawMultiLineString; /** * Array representation of a multipolygon. * @typedef {Array.} - * @api + * @api stable */ ol.geom.RawMultiPolygon;