DirectionsResponse
The directions and estimated travel time for a route.
Declaration
interface DirectionsResponseMentioned in
Overview
To get directions, create an instance of Directions and call the route(request) method.
The route(request) method returns a promise that resolves with a DirectionsResponse on success.