From feba61af25efc81c4dad975e6e3ae1eaaea96d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Tue, 19 Aug 2014 17:10:32 +0200 Subject: [PATCH] Add @api stable annotations for ol.geom.SimpleGeometry --- src/ol/geom/simplegeometry.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/ol/geom/simplegeometry.js b/src/ol/geom/simplegeometry.js index b8cef3f7b8..67ad222936 100644 --- a/src/ol/geom/simplegeometry.js +++ b/src/ol/geom/simplegeometry.js @@ -16,7 +16,7 @@ goog.require('ol.geom.flat.transform'); * * @constructor * @extends {ol.geom.Geometry} - * @api + * @api stable */ ol.geom.SimpleGeometry = function() { @@ -90,7 +90,7 @@ ol.geom.SimpleGeometry.prototype.containsXY = goog.functions.FALSE; /** * @inheritDoc - * @api + * @api stable */ ol.geom.SimpleGeometry.prototype.getExtent = function(opt_extent) { if (this.extentRevision != this.getRevision()) { @@ -106,7 +106,7 @@ ol.geom.SimpleGeometry.prototype.getExtent = function(opt_extent) { /** * @return {ol.Coordinate} First coordinate. - * @api + * @api stable */ ol.geom.SimpleGeometry.prototype.getFirstCoordinate = function() { return this.flatCoordinates.slice(0, this.stride); @@ -123,7 +123,7 @@ ol.geom.SimpleGeometry.prototype.getFlatCoordinates = function() { /** * @return {ol.Coordinate} Last point. - * @api + * @api stable */ ol.geom.SimpleGeometry.prototype.getLastCoordinate = function() { return this.flatCoordinates.slice(this.flatCoordinates.length - this.stride); @@ -132,7 +132,7 @@ ol.geom.SimpleGeometry.prototype.getLastCoordinate = function() { /** * @return {ol.geom.GeometryLayout} Layout. - * @api + * @api stable */ ol.geom.SimpleGeometry.prototype.getLayout = function() { return this.layout; @@ -141,7 +141,6 @@ ol.geom.SimpleGeometry.prototype.getLayout = function() { /** * @inheritDoc - * @api */ ol.geom.SimpleGeometry.prototype.getSimplifiedGeometry = function(squaredTolerance) {