Modules§

Structs§

  • ComputeRouteMatrix request message
  • ComputeRoutes request message.
  • ComputeRoutes the response message.
  • Information related to how and why a fallback result was used. If this field is set, then it means the server used a different routing mode from your preferred mode as fallback.
  • Details about the locations used as waypoints. Only populated for address waypoints. Includes details about the geocoding results for the purposes of determining what the address was geocoded to.
  • Contains [GeocodedWaypoints][google.maps.routing.v2.GeocodedWaypoint] for origin, destination and intermediate waypoints. Only populated for address waypoints.
  • Localized description of time.
  • Encapsulates a location (a geographic point, and an optional heading).
  • Encapsulates navigation instructions for a [RouteLegStep][google.maps.routing.v2.RouteLegStep].
  • Encapsulates an encoded polyline.
  • Details corresponding to a given index or contiguous segment of a polyline. Given a polyline with points P_0, P_1, … , P_N (zero-based index), the PolylineDetails defines an interval and associated metadata.
  • Contains a route, which consists of a series of connected road segments that join beginning, ending, and intermediate waypoints.
  • Contains a segment between non-via waypoints.
  • Contains a segment of a [RouteLeg][google.maps.routing.v2.RouteLeg]. A step corresponds to a single navigation instruction. Route legs are made up of steps.
  • Additional information for the RouteLegStep related to TRANSIT routes.
  • Contains the additional information that the user should be informed about, such as possible traffic zone restrictions on a leg step.
  • Contains the additional information that the user should be informed about on a leg step, such as possible traffic zone restrictions.
  • A single destination for ComputeRouteMatrixRequest
  • Contains route information computed for an origin/destination pair in the ComputeRouteMatrix API. This proto can be streamed to the client.
  • A single origin for ComputeRouteMatrixRequest
  • Encapsulates a set of optional conditions to satisfy when calculating the routes.
  • Contains the additional information that the user should be informed about, such as possible traffic zone restrictions.
  • Traffic density indicator on a contiguous segment of a polyline or path. Given a path with points P_0, P_1, … , P_N (zero-based index), the SpeedReadingInterval defines an interval and describes its traffic using the following categories.
  • Encapsulates toll information on a [Route][google.maps.routing.v2.Route] or on a [RouteLeg][google.maps.routing.v2.RouteLeg].
  • A transit agency that operates a transit line.
  • Contains information about the transit line used in this step.
  • Preferences for TRANSIT based routes that influence the route that is returned.
  • Information about a transit stop.
  • Information about a vehicle used in transit routes.
  • Contains the vehicle information, such as the vehicle emission type.
  • Encapsulates a waypoint. Waypoints mark both the beginning and end of a route, and include intermediate stops along the route.

Enums§

  • Reasons for using fallback response.
  • Actual routing mode used for returned fallback response.
  • A set of values that specify the navigation action to take for the current step (for example, turn left, merge, or straight).
  • Specifies the preferred type of polyline to be returned.
  • A set of values that specify the quality of the polyline.
  • Labels for the [Route][google.maps.routing.v2.Route] that are useful to identify specific properties of the route to compare against others.
  • The condition of the route being returned.
  • A set of values used to specify the mode of travel. NOTE: WALK, BICYCLE, and TWO_WHEELER routes are in beta and might sometimes be missing clear sidewalks, pedestrian paths, or bicycling paths. You must display this warning to the user for all walking, bicycling, and two-wheel routes that you display in your app.
  • A set of values that specify factors to take into consideration when calculating the route.
  • List of toll passes around the world that we support.
  • Specifies the assumptions to use when calculating time in traffic. This setting affects the value returned in the duration field in the response, which contains the predicted time in traffic based on historical averages.
  • A set of values that specify the unit of measure used in the display.
  • A set of values describing the vehicle’s emission type. Applies only to the DRIVE [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].