Fix table node API docs (#5204)
This commit is contained in:
parent
72e03f9af9
commit
a53da9095a
@ -363,7 +363,7 @@ NAN_METHOD(Engine::nearest) //
|
|||||||
|
|
||||||
* @param {Function} callback
|
* @param {Function} callback
|
||||||
*
|
*
|
||||||
* @returns {Object} containing `durations`, `sources`, and `destinations`.
|
* @returns {Object} containing `durations`, `distances`, `sources`, and `destinations`.
|
||||||
* **`durations`**: array of arrays that stores the matrix in row-major order. `durations[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.
|
* **`durations`**: array of arrays that stores the matrix in row-major order. `durations[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.
|
||||||
* Values are given in seconds.
|
* Values are given in seconds.
|
||||||
* **`distances`**: array of arrays that stores the matrix in row-major order. `distances[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.
|
* **`distances`**: array of arrays that stores the matrix in row-major order. `distances[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.
|
||||||
|
Loading…
Reference in New Issue
Block a user