From a4a0414eebb51e245bcb58acd0b1f9e2dcc24063 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Thu, 5 Sep 2019 22:53:54 +0100 Subject: [PATCH] LineString.forEachSegment callback description Include API description of the LineString.forEachSegment callback arguments. --- src/ol/geom/LineString.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/geom/LineString.js b/src/ol/geom/LineString.js index 0fe7da857b..e8928c7d22 100644 --- a/src/ol/geom/LineString.js +++ b/src/ol/geom/LineString.js @@ -111,7 +111,7 @@ class LineString extends SimpleGeometry { * value immediately. Otherwise the function returns `false`. * * @param {function(this: S, import("../coordinate.js").Coordinate, import("../coordinate.js").Coordinate): T} callback Function - * called for each segment. + * called for each segment. The function will receive two arguments, the start and end coordinates of the segment. * @return {T|boolean} Value. * @template T,S * @api