Removes exit field for intersection counting; only used for roundabouts

- f3ebba7a79/src/engine/api/json_factory.cpp (L197-L198)
- f3ebba7a79/src/engine/guidance/post_processing.cpp (L153)
This commit is contained in:
Daniel J. Hofmann 2017-02-06 17:21:38 +01:00 committed by Patrick Niklaus
parent 53011755a2
commit 880b982eeb

View File

@ -638,12 +638,8 @@ step.
| `turn` | `modifier` indicates the change in direction accomplished through the turn |
| `depart`/`arrive` | `modifier` indicates the position of departure point and arrival point in relation to the current direction of travel |
- `exit` An optional `integer` indicating number of the exit to take. The property exists for the following `type` property:
| `type` | Description |
|------------------------|---------------------------------------------------------------------------------------------------------------------------|
| `roundabout`/`rotary` | Number of the roundabout exit to take. If exit is `undefined` the destination is on the roundabout. |
| else | Indicates the number of intersections passed until the turn. Example instruction: `at the fourth intersection, turn left` |
- `exit` An optional `integer` indicating number of the exit to take. The property exists for the `roundabout` / `rotary` property:
Number of the roundabout exit to take. If exit is `undefined` the destination is on the roundabout.
New properties (potentially depending on `type`) may be introduced in the future without an API version change.