Roads API

Fetch Google roads using a viewport, road ID, or latitude/longitude coordinates.

Service: roads.googleapis.com

The Service name roads.googleapis.com is needed to create RPC client stubs.

google.maps.roads.selection.v1.RoadsSelection

Methods
BatchCreateSelectedRoutes Creates multiple SelectedRoutes and starts a schedule to periodically retrieve cache information for each of the routes.
CreateSelectedRoute Creates a SelectedRoute and starts a schedule to periodically retrieve cache information for the route.
DeleteSelectedRoute Deletes the specified SelectedRoute for the specified project.
GetSelectedRoute Gets a SelectedRoute as specified by its name.
ListSelectedRoutes Lists all SelectedRoutes for the specified project with pagination.

google.maps.roads.v1op.RoadsService

Methods
ListNearestRoads This method takes a list of latitude,longitude points and snaps them each to their nearest road.
ListSpeedLimits This method takes a sequence of place IDs and returns the speed limit for each road segment.
ListTrafficSpeeds This method takes a sequence of place IDs and a list of types of speeds and returns those speeds for each road segment.
ListTrafficSpeedsForTile
SnapToRoads This method takes a sequence of latitude,longitude points and snaps them to the most likely road segments.