Add basic docs for geom.linearring
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user