From f43bc8d122600d9911e54be5b9f4a79b85358227 Mon Sep 17 00:00:00 2001 From: Otto Pellinen Date: Wed, 4 Dec 2019 20:42:59 +0200 Subject: [PATCH] Fix comment for appendCoordinates --- src/ol/interaction/Draw.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ol/interaction/Draw.js b/src/ol/interaction/Draw.js index 016c9ddff4..9807de8b8a 100644 --- a/src/ol/interaction/Draw.js +++ b/src/ol/interaction/Draw.js @@ -903,11 +903,10 @@ class Draw extends PointerInteraction { } /** - * Append the geometry that is currently being drawn with a copy of the - * linear coordinates given as the parameter. - * This can be used when drawing LineStrings or Polygons. Appending supports - * only linear coordinates, such as the coordinates from a LineString - * or a LinearRing of a Polygon. + * Append coordinates to the end of the geometry that is currently being drawn. + * This can be used when drawing LineStrings or Polygons. Coordinates will + * either be appended to the current LineString or the outer ring of the current + * Polygon. * @param {!LineCoordType} coordinateExtension Linear coordinates to be appended into * the coordinate array. * @api