Add basic docs for geom.multipoint

This commit is contained in:
Marc Jansen
2015-04-22 21:01:07 +02:00
parent 4e448dddd6
commit f0c235d352
+5
View File
@@ -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. * @param {ol.geom.Point} point Point.
* @api stable * @api stable
*/ */
@@ -87,6 +88,7 @@ ol.geom.MultiPoint.prototype.closestPointXY =
/** /**
* Return the coordinates of the multipoint.
* @return {Array.<ol.Coordinate>} Coordinates. * @return {Array.<ol.Coordinate>} Coordinates.
* @api stable * @api stable
*/ */
@@ -97,6 +99,7 @@ ol.geom.MultiPoint.prototype.getCoordinates = function() {
/** /**
* Return the point at the specified index.
* @param {number} index Index. * @param {number} index Index.
* @return {ol.geom.Point} Point. * @return {ol.geom.Point} Point.
* @api stable * @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. * @return {Array.<ol.geom.Point>} Points.
* @api stable * @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 {Array.<ol.Coordinate>} coordinates Coordinates.
* @param {ol.geom.GeometryLayout=} opt_layout Layout. * @param {ol.geom.GeometryLayout=} opt_layout Layout.
* @api stable * @api stable