Add documentation about nodes property

This commit is contained in:
Patrick Niklaus 2016-06-01 23:44:26 +02:00 committed by Daniel J. Hofmann
parent ed8d5e0b0a
commit e198709643
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,7 @@
- paramater `annotate` was renamed to `annotations`.
- `annotation` as accidentally placed in `Route` instead of `RouteLeg`
- Support for destination signs. New member `destinations` in `RouteStep`, based on `destination` and `destination:ref`.
- Add `nodes` property to `annotation` in `RouteLeg` containing the ids of nodes covered by the route
- Profile changes:
- `result.destinations` allows you to set a way's destinations

View File

@ -413,7 +413,8 @@ With `steps=false` and `annotations=true`:
"steps": []
"annotation": {
"distance": [5,5,10,5,5],
"duration": [15,15,40,15,15]
"duration": [15,15,40,15,15],
"nodes": [49772551,49772552,49786799,49786800,49786801,49786802]
}
}
```