AI-generated Key Takeaways
-
GMTSWaypoint represents an intermediate point along a route.
-
The
latLngproperty provides the latitude and longitude of the waypoint. -
The
initWithLatLng:method is used to instantiate a GMTSWaypoint object, specifying the latitude and longitude. -
The
initmethod is unavailable; you should utilize theinitWithLatLng:method instead.
GMTSWaypoint
@interface GMTSWaypoint : GMTCImmutableDataObject 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
latLngThe latitude and longitude associated with the waypoint.
-
Unavailable
Use
-initWithLatLng:.Declaration
Objective-C
- (nonnull instancetype)init;