com.google.android.libraries.mapsplatform.turnbyturn.model

  • This documentation details annotations, classes, and builders related to turn-by-turn navigation in the Google Maps Android SDK.

  • Annotations like DrivingSide, LaneDirection.LaneShape, Maneuver, and NavState provide information about route details and navigation status.

  • Classes such as Lane, LaneDirection, NavInfo, and StepInfo offer detailed navigation data for each step of the route.

  • Corresponding builder classes are provided to facilitate the creation and customization of Lane, LaneDirection, NavInfo, and StepInfo objects.

  • Developers can use these elements to build comprehensive and informative turn-by-turn navigation experiences within their Android applications.

Annotations

DrivingSide

Whether this step is on a drive-on-right or drive-on-left route. 

LaneDirection.LaneShape A set of values that specify the shape of the road path continuing from the Lane. 
Maneuver

A set of values that specify the navigation action to take. 

NavState

The state of navigation. 

Classes

Lane

Single lane on the road at the end of a route step. 

Lane.Builder A builder of Lane
LaneDirection

One of the possible directions from a lane at the end of a route step, and whether it is on the recommended route. 

LaneDirection.Builder A builder of LaneDirection
NavInfo

Contains information about the state of navigation, the current nav step if available, and remaining steps if available. 

NavInfo.Builder Builder for NavInfo. 
StepInfo

Information about a single step along a navigation route. 

StepInfo.Builder Builder for StepInfo.