Times are returned in milliseconds and distances in meters.
1 2 3 4 |
longitude, latitude |
The longitude, latitude of the node. |
time, distance |
The travel time, distance to the node. |
prev_longitude, prev_latitude |
The longitude, latitude of the previous node. |
prev_time, prev_distance |
The travel time, distance to the previous node. |
node_id, prev_node_id |
The ID of the node, previous node. |
edge_id, prev_edge_id |
The ID of the edge, previous edge. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.