From 516be9041edc75e348fced5c7249831be1f664e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 19 Aug 2014 17:05:58 +0200 Subject: [PATCH] Add @api stable annotations for ol.geom.LinearRing --- src/ol/geom/linearring.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ol/geom/linearring.js b/src/ol/geom/linearring.js index eaf6bb01af..3bbc04b80d 100644 --- a/src/ol/geom/linearring.js +++ b/src/ol/geom/linearring.js @@ -20,7 +20,7 @@ goog.require('ol.geom.flat.simplify'); * @extends {ol.geom.SimpleGeometry} * @param {ol.geom.RawLinearRing} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. - * @api + * @api stable */ ol.geom.LinearRing = function(coordinates, opt_layout) { @@ -47,7 +47,7 @@ goog.inherits(ol.geom.LinearRing, ol.geom.SimpleGeometry); /** * @inheritDoc - * @api + * @api stable */ ol.geom.LinearRing.prototype.clone = function() { var linearRing = new ol.geom.LinearRing(null); @@ -78,7 +78,7 @@ ol.geom.LinearRing.prototype.closestPointXY = /** * @return {number} Area (on projected plane). - * @api + * @api stable */ ol.geom.LinearRing.prototype.getArea = function() { return ol.geom.flat.area.linearRing( @@ -88,7 +88,7 @@ ol.geom.LinearRing.prototype.getArea = function() { /** * @return {ol.geom.RawLinearRing} Coordinates. - * @api + * @api stable */ ol.geom.LinearRing.prototype.getCoordinates = function() { return ol.geom.flat.inflate.coordinates( @@ -114,7 +114,7 @@ ol.geom.LinearRing.prototype.getSimplifiedGeometryInternal = /** * @inheritDoc - * @api + * @api stable */ ol.geom.LinearRing.prototype.getType = function() { return ol.geom.GeometryType.LINEAR_RING; @@ -124,7 +124,7 @@ ol.geom.LinearRing.prototype.getType = function() { /** * @param {ol.geom.RawLinearRing} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. - * @api + * @api stable */ ol.geom.LinearRing.prototype.setCoordinates = function(coordinates, opt_layout) {