From 4e448dddd6aa2fe9a256924050e242ebd6067667 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Wed, 22 Apr 2015 21:00:54 +0200 Subject: [PATCH] Add basic docs for geom.multilinestring --- src/ol/geom/multilinestring.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ol/geom/multilinestring.js b/src/ol/geom/multilinestring.js index d7111c6ceb..209921e5de 100644 --- a/src/ol/geom/multilinestring.js +++ b/src/ol/geom/multilinestring.js @@ -56,6 +56,7 @@ goog.inherits(ol.geom.MultiLineString, ol.geom.SimpleGeometry); /** + * Append the passed linestring to the multilinestring. * @param {ol.geom.LineString} lineString LineString. * @api stable */ @@ -143,6 +144,7 @@ ol.geom.MultiLineString.prototype.getCoordinateAtM = /** + * Return the coordinates of the multilinestring. * @return {Array.>} Coordinates. * @api stable */ @@ -161,6 +163,7 @@ ol.geom.MultiLineString.prototype.getEnds = function() { /** + * Return the linestring at the specified index. * @param {number} index Index. * @return {ol.geom.LineString} LineString. * @api stable @@ -179,6 +182,7 @@ ol.geom.MultiLineString.prototype.getLineString = function(index) { /** + * Return the linestrings of this multilinestring. * @return {Array.} LineStrings. * @api stable */ @@ -259,6 +263,7 @@ ol.geom.MultiLineString.prototype.intersectsExtent = function(extent) { /** + * Set the coordinates of the multilinestring. * @param {Array.>} coordinates Coordinates. * @param {ol.geom.GeometryLayout=} opt_layout Layout. * @api stable