Fix comment for appendCoordinates
This commit is contained in:
committed by
Olivier Guyot
parent
175695f877
commit
f43bc8d122
@@ -903,11 +903,10 @@ class Draw extends PointerInteraction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Append the geometry that is currently being drawn with a copy of the
|
* Append coordinates to the end of the geometry that is currently being drawn.
|
||||||
* linear coordinates given as the parameter.
|
* This can be used when drawing LineStrings or Polygons. Coordinates will
|
||||||
* This can be used when drawing LineStrings or Polygons. Appending supports
|
* either be appended to the current LineString or the outer ring of the current
|
||||||
* only linear coordinates, such as the coordinates from a LineString
|
* Polygon.
|
||||||
* or a LinearRing of a Polygon.
|
|
||||||
* @param {!LineCoordType} coordinateExtension Linear coordinates to be appended into
|
* @param {!LineCoordType} coordinateExtension Linear coordinates to be appended into
|
||||||
* the coordinate array.
|
* the coordinate array.
|
||||||
* @api
|
* @api
|
||||||
|
|||||||
Reference in New Issue
Block a user