Skip to content

Instruction Types

The following table contains the encoding of the instruction types present in the type-field of a directions response in a step of a segment of a route.

JSON-Path in json response:

jsonpath
$.routes[*].segments[*].steps[*].type

JSON-Path in geojson response:

jsonpath
$.features[*].properties.segments[*].steps[*].type
ValueEncoding
0Left
1Right
2Sharp left
3Sharp right
4Slight left
5Slight right
6Straight
7Enter roundabout
8Exit roundabout
9U-turn
10Goal
11Depart
12Keep left
13Keep right