From f0c235d352c9f062da0371989611818c52341d17 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Wed, 22 Apr 2015 21:01:07 +0200 Subject: [PATCH] Add basic docs for geom.multipoint --- src/ol/geom/multipoint.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ol/geom/multipoint.js b/src/ol/geom/multipoint.js index 707b827764..0e1135ecf8 100644 --- a/src/ol/geom/multipoint.js +++ b/src/ol/geom/multipoint.js @@ -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.} 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.} Points. * @api stable */ @@ -165,6 +169,7 @@ ol.geom.MultiPoint.prototype.intersectsExtent = function(extent) { /** + * Set the coordinates of the multipoint. * @param {Array.} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable