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() method.
The route() method returns a promise that resolves with a DirectionsResponse on success.