Retrieve duration and distance values based on the recommended route between start and end points.
Demos and sample code
Activate the Google Maps Distance Matrix API
To get you started we'll guide you through the Google Developers Console to do a few things first:
- Create or choose a project
- Activate the Google Maps Distance Matrix API
- Create appropriate keys
Use the Distance Matrix API along with other APIs to build location-relevant apps and sites.