Add basic docs for geom.linearring

This commit is contained in:
Marc Jansen
2015-04-22 21:00:29 +02:00
parent 7e7c03820a
commit 6b1bccfcdd

View File

@@ -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). * @return {number} Area (on projected plane).
* @api stable * @api stable
*/ */
@@ -89,6 +90,7 @@ ol.geom.LinearRing.prototype.getArea = function() {
/** /**
* Return the coordinates of the linear ring.
* @return {Array.<ol.Coordinate>} Coordinates. * @return {Array.<ol.Coordinate>} Coordinates.
* @api stable * @api stable
*/ */
@@ -124,6 +126,7 @@ ol.geom.LinearRing.prototype.getType = function() {
/** /**
* Set the coordinates of the linear ring.
* @param {Array.<ol.Coordinate>} coordinates Coordinates. * @param {Array.<ol.Coordinate>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable