# GoogleRidesharingConsumer Framework Reference

# GMTSWaypoint

    @interface GMTSWaypoint : https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCImmutableData.html

Object representing an intermediate point along a route.
- `


  ### [latLng](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSWaypoint#/c:objc(cs)GMTSWaypoint(py)latLng)


  ` The latitude and longitude associated with the waypoint.

  #### Declaration

  Swift

      @NSCopying var latLng: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html *latLng;

- `


  ### [-initWithLatLng:](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSWaypoint#/c:objc(cs)GMTSWaypoint(im)initWithLatLng:)


  ` Instantiates the object.

  #### Declaration

  Swift

      init(latLng: https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html?)

  Objective-C

      - (nonnull instancetype)initWithLatLng:(nullable https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSLatLng.html *)latLng;

  #### Parameters

  |---|---|
  | ` latLng ` | The latitude and longitude associated with the waypoint. |

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSWaypoint#/c:objc(cs)GMTSWaypoint(im)init)


  ` Unavailable
  Use `https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTSWaypoint.html#/c:objc(cs)GMTSWaypoint(im)initWithLatLng:`.

  #### Declaration

  Objective-C

      - (nonnull instancetype)init;