Google Maps API — Google Maps Directions Service

Directions Service
The Directions Service is a client-side JavaScript library that lets us get directions data between two locations based on travel mode such as driving, walking, etc.
The Directions Service talks to Google Maps API behind the scene that takes direction requests such as origin, destination, travel mode and returns the…