successRouteResponse
routes object[]
Depending on the geometries query parameter, this is either a GeoJSON LineString or a Polyline string. Depending on the overview query parameter, this is the complete route geometry (full), a simplified geometry to the zoom level at which the route can be displayed in full (simplified), or is not included (false).
legs object[]
Array of legs for the route, where each leg represents a route between provided in the request waypoints.
Time when the vehicle is scheduled to finish this leg of the journey.
steps object[]
Depending on the optional steps parameter, either an array of route step objects (steps=true) or an empty array (steps=false, default).
Geometry representation of the the step
maneuver object
Represents maneuvers at this step. Used as instructions for the step by step navigation
Requested travelling mode (i.e. driving)
left or right driving side on the road
Type of the step
intersections object[]
Array of objects representing intersections for this step
Number of exits at the intersection
Number of entrances at the intersection
Flag indicating if the intersections is allowed to enter
Bearings of intesection exits\entrances
Location of hte intersection
Weight of the step
Planned duration of the step
Planned distance for the step
Name of the step-related geographical feature
Delay on the leg
Time when the vehicle is scheduled to begin this leg of the journey.
The estimated travel time through the waypoints, in seconds.
The distance traveled through the waypoints, in meters.
A numeric value representing desirability of a route, where a lower weight indicates a more favorable route when comparing two routes with the same set of waypoints. In case multiple routes are returned, they are sorted in ascending order based on their weights.
The estimated travel time through the waypoints, in seconds.
The distance traveled through the waypoints, in meters.
waypoints object[]
The straight-line distance from the coordinate specified in the query to the location it was snapped to.
The name of the road or path to which the input coordinate has been snapped.
Possible values: >= 2, <= 2
version object
{
"code": "string",
"routes": [
{
"geometry": {},
"legs": [
{
"end_time": "2024-07-29T15:51:28.071Z",
"steps": [
{
"geometry": {},
"maneuver": {
"bearing_after": 0,
"bearing_before": 0,
"location": [
0
],
"modifier": "string",
"type": "string"
},
"mode": "string",
"driving_side": "string",
"type": "string",
"intersections": [
{
"out": 0,
"in": 0,
"entry": [
true
],
"bearings": [
0
],
"location": [
0
]
}
],
"weight": 0,
"duration": 0,
"distance": 0,
"name": "string"
}
],
"slack": 0,
"summary": "string",
"weight": 0,
"start_time": "2024-07-29T15:51:28.071Z",
"duration": 0,
"distance": 0
}
],
"weight_name": "string",
"weight": 0,
"duration": 0,
"distance": 0
}
],
"waypoints": [
{
"hint": "string",
"distance": 0,
"name": "string",
"location": [
0
]
}
],
"version": {
"patch": 0,
"major": 0,
"minor": 0,
"changes": "string",
"tag": "string",
"git-sha1": "string"
}
}