Add basic docs for geom.multipoint
This commit is contained in:
@@ -32,6 +32,7 @@ goog.inherits(ol.geom.MultiPoint, ol.geom.SimpleGeometry);
|
||||
|
||||
|
||||
/**
|
||||
* Append the passed point to this multipoint.
|
||||
* @param {ol.geom.Point} point Point.
|
||||
* @api stable
|
||||
*/
|
||||
@@ -87,6 +88,7 @@ ol.geom.MultiPoint.prototype.closestPointXY =
|
||||
|
||||
|
||||
/**
|
||||
* Return the coordinates of the multipoint.
|
||||
* @return {Array.<ol.Coordinate>} Coordinates.
|
||||
* @api stable
|
||||
*/
|
||||
@@ -97,6 +99,7 @@ ol.geom.MultiPoint.prototype.getCoordinates = function() {
|
||||
|
||||
|
||||
/**
|
||||
* Return the point at the specified index.
|
||||
* @param {number} index Index.
|
||||
* @return {ol.geom.Point} Point.
|
||||
* @api stable
|
||||
@@ -117,6 +120,7 @@ ol.geom.MultiPoint.prototype.getPoint = function(index) {
|
||||
|
||||
|
||||
/**
|
||||
* Return the points of this multipoint.
|
||||
* @return {Array.<ol.geom.Point>} Points.
|
||||
* @api stable
|
||||
*/
|
||||
@@ -165,6 +169,7 @@ ol.geom.MultiPoint.prototype.intersectsExtent = function(extent) {
|
||||
|
||||
|
||||
/**
|
||||
* Set the coordinates of the multipoint.
|
||||
* @param {Array.<ol.Coordinate>} coordinates Coordinates.
|
||||
* @param {ol.geom.GeometryLayout=} opt_layout Layout.
|
||||
* @api stable
|
||||
|
||||
Reference in New Issue
Block a user