GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTSWaypoint
Object representing an intermediate point along a route.
-
The latitude and longitude associated with the waypoint.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) GMTSLatLng *latLng;
-
Declaration
Objective-C
- (nonnull instancetype)initWithLatLng:(nullable GMTSLatLng *)latLng;
Parameters
latLng
|
The latitude and longitude associated with the waypoint.
|
-
Declaration
Objective-C
- (nonnull instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eGMTSWaypoint represents an intermediate point along a route.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003elatLng\u003c/code\u003e property provides the latitude and longitude of the waypoint.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einitWithLatLng:\u003c/code\u003e method is used to instantiate a GMTSWaypoint object, specifying the latitude and longitude.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is unavailable; you should utilize the \u003ccode\u003einitWithLatLng:\u003c/code\u003e method instead.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTSWaypoint\n============\n\n @interface GMTSWaypoint : ../Classes/GMTCImmutableData.html\n\nObject representing an intermediate point along a route.\n- `\n ``\n ``\n `\n\n ### [latLng](#/c:objc(cs)GMTSWaypoint(py)latLng)\n\n `\n ` \n The latitude and longitude associated with the waypoint. \n\n #### Declaration\n\n Swift \n\n @NSCopying var latLng: ../Classes/GMTSLatLng.html? { get }\n\n Objective-C \n\n @property (nonatomic, copy, readonly, nullable) ../Classes/GMTSLatLng.html *latLng;\n\n- `\n ``\n ``\n `\n\n ### [-initWithLatLng:](#/c:objc(cs)GMTSWaypoint(im)initWithLatLng:)\n\n `\n ` \n Instantiates the object. \n\n #### Declaration\n\n Swift \n\n init(latLng: ../Classes/GMTSLatLng.html?)\n\n Objective-C \n\n - (nonnull instancetype)initWithLatLng:(nullable ../Classes/GMTSLatLng.html *)latLng;\n\n #### Parameters\n\n |----------------|----------------------------------------------------------|\n | ` `*latLng*` ` | The latitude and longitude associated with the waypoint. |\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTSWaypoint(im)init)\n\n `\n ` \n Unavailable \n Use [-initWithLatLng:](../Classes/GMTSWaypoint.html#/c:objc(cs)GMTSWaypoint(im)initWithLatLng:). \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]