diff --git a/src/ol/geom/polygon.js b/src/ol/geom/polygon.js index 627910b333..4a8d3b6ac8 100644 --- a/src/ol/geom/polygon.js +++ b/src/ol/geom/polygon.js @@ -84,6 +84,7 @@ goog.inherits(ol.geom.Polygon, ol.geom.SimpleGeometry); /** + * Append the passed linear ring to this polygon. * @param {ol.geom.LinearRing} linearRing Linear ring. * @api stable */ @@ -143,6 +144,7 @@ ol.geom.Polygon.prototype.containsXY = function(x, y) { /** + * Return the area of the polygon on projected plane. * @return {number} Area (on projected plane). * @api stable */ @@ -204,6 +206,7 @@ ol.geom.Polygon.prototype.getFlatInteriorPoint = function() { /** + * Return an interior point of the polygon. * @return {ol.geom.Point} Interior point. * @api stable */ @@ -248,6 +251,7 @@ ol.geom.Polygon.prototype.getLinearRing = function(index) { /** + * Return the linear rings of the polygon. * @return {Array.