# GoogleNavigation Framework Reference

# GMSNavigationStepInfo

    @interface GMSNavigationStepInfo : NSObject

Information about a single step along a navigation route.
- `


  ### [maneuver](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)maneuver)


  ` The `https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSNavigationManeuver.html` for this step.

  #### Declaration

  Swift

      var maneuver: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSNavigationManeuver.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSNavigationManeuver.html maneuver;

- `


  ### [-maneuverImageWithOptions:](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(im)maneuverImageWithOptions:)


  ` The UIImage for the maneuver of this step using provided options. Default options values will be
  used if the options parameter is nil.

  #### Declaration

  Swift

      func maneuverImage(with options: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfoImageOptions.html?) -> UIImage?

  Objective-C

      - (nullable UIImage *)maneuverImageWithOptions:
          (nullable https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfoImageOptions.html *)options;

  #### Return Value

  `nil` if there is no maneuver image for this step.
- `


  ### [lanes](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)lanes)


  ` The different available lanes for this step.

  The array is ordered such that the first lane is on the left and last lane is on the right
  regardless of driving side.

  #### Declaration

  Swift

      var lanes: [https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationLane.html]? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSArray<https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationLane.html *> *lanes;

  #### Return Value

  `nil` if there is no lane guidance for this step.
- `


  ### [-lanesImageWithOptions:](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(im)lanesImageWithOptions:)


  ` The UIImage for the lane guidance of this step using provided options. Default options values
  will be used if the options parameter is nil.

  #### Declaration

  Swift

      func lanesImage(with options: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfoImageOptions.html?) -> UIImage?

  Objective-C

      - (nullable UIImage *)lanesImageWithOptions:
          (nullable https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfoImageOptions.html *)options;

  #### Return Value

  `nil` if there is no lane guidance for this step.
- `


  ### [fullRoadName](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)fullRoadName)


  ` The full road name for this step containing all information for the road including direction.

  Examples (each line is a separate example):

  Lean Ave

  CA-85 / Mtn View

  Exit 9A / North First Street

  #### Declaration

  Swift

      var fullRoadName: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull fullRoadName;

- `


  ### [simpleRoadName](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)simpleRoadName)


  ` The simplified version of the road name. This is shorter than the full road name and may not
  contain all pieces of identifying information about the road such as direction or name of exit.

  Examples (each line is a separate example):

  Lean Ave

  CA-85

  Exit 9A

  #### Declaration

  Swift

      var simpleRoadName: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull simpleRoadName;

- `


  ### [fullInstructionText](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)fullInstructionText)


  ` The full text of the instruction for this step.

  Examples (each line is a separate example):

  Turn left onto Lean Ave.

  Use the right lane to take the CA-85 ramp to Mtn View.

  Use the 2nd from the right lane to take exit 9A toward North First Street.

  #### Declaration

  Swift

      var fullInstructionText: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull fullInstructionText;

- `


  ### [exitNumber](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)exitNumber)


  ` Exit number of this step if it exists.

  #### Declaration

  Swift

      var exitNumber: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) NSString *exitNumber;

- `


  ### [drivingSide](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)drivingSide)


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

  #### Declaration

  Swift

      var drivingSide: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSNavigationDrivingSide.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Enums/GMSNavigationDrivingSide.html drivingSide;

- `


  ### [roundaboutTurnNumber](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)roundaboutTurnNumber)


  ` The counted number of the exit to take relative to the location where the roundabout was entered.
  Only set for roundabouts, otherwise -1.

  #### Declaration

  Swift

      var roundaboutTurnNumber: Int { get }

  Objective-C

      @property (nonatomic, readonly) NSInteger roundaboutTurnNumber;

- `


  ### [stepNumber](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)stepNumber)


  ` The index of the step in the list of all steps in the route. The first step has step number 0.

  #### Declaration

  Swift

      var stepNumber: Int { get }

  Objective-C

      @property (nonatomic, readonly) NSInteger stepNumber;

- `


  ### [distanceFromPrevStepMeters](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)distanceFromPrevStepMeters)


  ` The total distance of this step. This value does not change.

  #### Declaration

  Swift

      var distanceFromPrevStepMeters: CLLocationDistance { get }

  Objective-C

      @property (nonatomic, readonly) CLLocationDistance distanceFromPrevStepMeters;

- `


  ### [timeFromPrevStepSeconds](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(py)timeFromPrevStepSeconds)


  ` The estimated time it takes to complete this step. This value does not change.

  #### Declaration

  Swift

      var timeFromPrevStepSeconds: TimeInterval { get }

  Objective-C

      @property (nonatomic, readonly) NSTimeInterval timeFromPrevStepSeconds;

- `


  ### [-init](https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationStepInfo#/c:objc(cs)GMSNavigationStepInfo(im)init)


  ` Unavailable

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init NS_UNAVAILABLE;