Skip to content

Commit

Permalink
Update map-matching.js (#400)
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
kasi1999999 authored Feb 2, 2021
1 parent 51d61dd commit 2728acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/map-matching.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 2728acb

Please sign in to comment.