Update docs/nodejs/api.md
Co-authored-by: Michael Bell <michael@mjjbell.com>
This commit is contained in:
parent
485ec87995
commit
73476a398f
@ -244,7 +244,7 @@ osrm.match(options, function(err, response) {
|
|||||||
Returns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** containing `tracepoints` and `matchings`.
|
Returns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** containing `tracepoints` and `matchings`.
|
||||||
**`tracepoints`** Array of [`Ẁaypoint`](#waypoint) objects representing all points of the trace in order.
|
**`tracepoints`** Array of [`Ẁaypoint`](#waypoint) objects representing all points of the trace in order.
|
||||||
If the trace point was ommited by map matching because it is an outlier, the entry will be null.
|
If the trace point was ommited by map matching because it is an outlier, the entry will be null.
|
||||||
Each `Waypoint` object includes two additional properties,
|
Each `Waypoint` object has the following additional properties,
|
||||||
|
|
||||||
1) `matchings_index`: Index to the
|
1) `matchings_index`: Index to the
|
||||||
[`Route`](#route) object in matchings the sub-trace was matched to,
|
[`Route`](#route) object in matchings the sub-trace was matched to,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user