Add basic docs for geom.multilinestring
This commit is contained in:
@@ -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.
|
* @param {ol.geom.LineString} lineString LineString.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
@@ -143,6 +144,7 @@ ol.geom.MultiLineString.prototype.getCoordinateAtM =
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Return the coordinates of the multilinestring.
|
||||||
* @return {Array.<Array.<ol.Coordinate>>} Coordinates.
|
* @return {Array.<Array.<ol.Coordinate>>} Coordinates.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
@@ -161,6 +163,7 @@ ol.geom.MultiLineString.prototype.getEnds = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Return the linestring at the specified index.
|
||||||
* @param {number} index Index.
|
* @param {number} index Index.
|
||||||
* @return {ol.geom.LineString} LineString.
|
* @return {ol.geom.LineString} LineString.
|
||||||
* @api stable
|
* @api stable
|
||||||
@@ -179,6 +182,7 @@ ol.geom.MultiLineString.prototype.getLineString = function(index) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Return the linestrings of this multilinestring.
|
||||||
* @return {Array.<ol.geom.LineString>} LineStrings.
|
* @return {Array.<ol.geom.LineString>} LineStrings.
|
||||||
* @api stable
|
* @api stable
|
||||||
*/
|
*/
|
||||||
@@ -259,6 +263,7 @@ ol.geom.MultiLineString.prototype.intersectsExtent = function(extent) {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* Set the coordinates of the multilinestring.
|
||||||
* @param {Array.<Array.<ol.Coordinate>>} coordinates Coordinates.
|
* @param {Array.<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