route

This function consumes DirectionsService.route to get DirectionsResult.

Parameters DirectionsRequest

Example