The directions and estimated travel time returned for a route.
route function is called, a
DirectionsResponse is returned asynchronously via a callback function. This callback function is invoked with two arguments,
data on failure and success.
error contains an error code and text description of the error.
data is a
DirectionsResponse object, with the properties
The request object associated with this response.
An array of route objects.
Retrieves directions and estimated travel time based on the specified start and end points.
The requested start and end points for a route, as well as the planned mode of transportation.
Information about a route, including step-by-step instructions, distance, and estimated travel time.
A single route between a requested start and end point.