# GoogleNavigation Framework Reference

# GMSRouteLeg

    @interface GMSRouteLeg : NSObject

An immutable class which represents a single leg of a journey, either from the device's current
position to the first destination, or from one destination to a subsequent destination.
- `


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


  ` The destination waypoint associated with this leg of the route.

  #### Declaration

  Swift

      var destinationWaypoint: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationWaypoint.html? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSNavigationWaypoint.html *destinationWaypoint;

- `


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


  ` The final coordinate in this leg. Note that this will in general not be the same location as the
  destination waypoint, unless the waypoint is positioned directly on a road.

  #### Declaration

  Swift

      var destinationCoordinate: CLLocationCoordinate2D { get }

  Objective-C

      @property (nonatomic, readonly) CLLocationCoordinate2D destinationCoordinate;

- `


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


  ` The path containing the coordinates which make up this route leg.

  #### Declaration

  Swift

      var path: https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSPath.html? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) https://developers.google.com/maps/documentation/navigation/ios-sdk/reference/objc/Classes/GMSPath.html *path;

- `


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


  ` Unavailable

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init NS_UNAVAILABLE;