From 2728acb0eb17cd1784aa5ce5887591225feb419f Mon Sep 17 00:00:00 2001 From: kasi1999999 Date: Tue, 2 Feb 2021 11:32:32 +0100 Subject: [PATCH] Update map-matching.js (#400) typo fix --- services/map-matching.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/map-matching.js b/services/map-matching.js index 6f14e7ef..15cc5d67 100644 --- a/services/map-matching.js +++ b/services/map-matching.js @@ -111,7 +111,7 @@ MapMatching.getMatch = function(config) { * @property {number} [radius=5] - A number in meters indicating the assumed precision of the used tracking device. * @property {boolean} [isWaypoint=true] - Whether this coordinate is waypoint or not. The first and last coordinates will always be waypoints. * @property {string} [waypointName] - Custom name for the waypoint used for the arrival instruction in banners and voice instructions. Will be ignored unless `isWaypoint` is `true`. - * @property {tring | number | Date} [timestamp] - Datetime corresponding to the coordinate. + * @property {string | number | Date} [timestamp] - Datetime corresponding to the coordinate. */ config.points.forEach(function(obj) { path.coordinates.push(obj.coordinates[0] + ',' + obj.coordinates[1]);