Example of the annotation
response value.
This commit is contained in:
parent
fa525ad610
commit
0903b8227f
@ -389,13 +389,17 @@ Represents a route between two waypoints.
|
|||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
With `steps=false`:
|
With `steps=false` and `annotate=true`:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"distance": 30.0,
|
"distance": 30.0,
|
||||||
"duration": 100.0,
|
"duration": 100.0,
|
||||||
"steps": []
|
"steps": []
|
||||||
|
"annotation": {
|
||||||
|
"distance": [5,5,10,5,5],
|
||||||
|
"duration": [15,15,40,15,15]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user