Subscribe
to these release notes.
See the Getting Started documentation for information on how to get started using the Routes API.
March 08, 2023
Routes API
Announcing the General Availability (GA) release of the Routes API. See the Release Notes for information about this release and for all other releases.
If you are a new user, see Set Up in the Google Cloud Console to start the installation process.
Along with place IDs and latitude/longitude coordinates, you can now specify a location in the GA release by using address strings ("Chicago, IL" or "Darwin, NT, Australia") and Plus Codes. For more information and examples, see Specify location and route options.
The Compute Routes response now contains the geocodingResults
array. For every location in the request (origin, destination, or intermediate waypoint) that was specified as an address string or as a Plus code, the API performs a place ID lookup. Each element of this array contains the place ID corresponding to a location along with additional metadata. Locations in the request specified as a place ID or as latitude/longitude coordinates are ignored.
You must now explicitly enable the following features in the GA by
adding the new array extraComputations
field to the request:
In the Preview release, you used a field mask to configure the method to
return information in the response for these features. In the GA, you still specify the field mask but now you must also set the new array extraComputations
field.
November 01, 2022
Added support for eco-friendly routing to the Routes API Preview. When you enable eco-friendly routing, the API returns an eco-friendly route showing the most fuel or energy efficient route based on your vehicle's engine type. For more information, see Configure eco-friendly routes.
September 28, 2022
The Preview release of the Routes API is now available. For information about this release, and for all previous releases, see the Release Notes or subscribe to the Release Notes XML feed.
To start the installation process, see Set Up in the Google Cloud Console.