From 6b1bccfcddf0d259e0148757e49d78add5be075f Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Wed, 22 Apr 2015 21:00:29 +0200 Subject: [PATCH] Add basic docs for geom.linearring --- src/ol/geom/linearring.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ol/geom/linearring.js b/src/ol/geom/linearring.js index b33d41db76..1f4da71dac 100644 --- a/src/ol/geom/linearring.js +++ b/src/ol/geom/linearring.js @@ -79,6 +79,7 @@ ol.geom.LinearRing.prototype.closestPointXY = /** + * Return the area of the linear ring on projected plane. * @return {number} Area (on projected plane). * @api stable */ @@ -89,6 +90,7 @@ ol.geom.LinearRing.prototype.getArea = function() { /** + * Return the coordinates of the linear ring. * @return {Array.} Coordinates. * @api stable */ @@ -124,6 +126,7 @@ ol.geom.LinearRing.prototype.getType = function() { /** + * Set the coordinates of the linear ring. * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable