GoogleRidesharingConsumer Framework Reference

  • GMTSWaypoint represents an intermediate point along a route.

  • The latLng property provides the latitude and longitude of the waypoint.

  • The initWithLatLng: method is used to instantiate a GMTSWaypoint object, specifying the latitude and longitude.

  • The init method is unavailable; you should utilize the initWithLatLng: method instead.

GMTSWaypoint

@interface GMTSWaypoint : GMTCImmutableData

Object representing an intermediate point along a route.

  • The latitude and longitude associated with the waypoint.

    Declaration

    Swift

    @NSCopying var latLng: GMTSLatLng? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) GMTSLatLng *latLng;
  • Instantiates the object.

    Declaration

    Swift

    init(latLng: GMTSLatLng?)

    Objective-C

    - (nonnull instancetype)initWithLatLng:(nullable GMTSLatLng *)latLng;

    Parameters

    latLng

    The latitude and longitude associated with the waypoint.

  • Unavailable

    Declaration

    Objective-C

    - (nonnull instancetype)init;