Whether it is preferred to route the driver to the same side of the road. The route will arrive
on the preferred side of the road unless there is a significant delay caused by a road closure
or slow-moving traffic. Default to NO.
Setting this to true clears any value in preferredHeading.
An angle used to express the direction of traffic on the side of the road that the vehicle
should arrive on. Consequently, it is not useful for one-way streets.
Units expressed in degrees [0, 360], where 0 means North and angles increase clockwise.
Default and unset value is -1.
Setting a valid value will clear the preferSameSideOfRoad.
Indicates that the waypoint is meant for vehicles to stop at, where the intention is to either
pickup or drop-off. When you set this value, waypoints on roads that are unsuitable for pickup
and drop-off may be adjusted to a more suitable location. This option works only for DRIVE and
TWO_WHEELER travel modes. Default to NO.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-15 UTC."],[[["\u003cp\u003e\u003ccode\u003eGMSNavigationMutableWaypoint\u003c/code\u003e allows customization of waypoint behavior for navigation.\u003c/p\u003e\n"],["\u003cp\u003eIt enables setting preferences for arriving on the same side of the road or with a specific heading.\u003c/p\u003e\n"],["\u003cp\u003eWaypoints can be designated as vehicle stopovers for pickup/drop-off optimization, applicable to DRIVE and TWO_WHEELER travel modes.\u003c/p\u003e\n"],["\u003cp\u003eBy default, \u003ccode\u003epreferSameSideOfRoad\u003c/code\u003e and \u003ccode\u003evehicleStopover\u003c/code\u003e are NO, while \u003ccode\u003epreferredHeading\u003c/code\u003e is -1 (unset).\u003c/p\u003e\n"]]],["GMSNavigationMutableWaypoint allows modifications to route waypoints. Key actions include setting `preferSameSideOfRoad` to guide drivers to the same road side, clearing any `preferredHeading` value. `preferredHeading` defines traffic direction with a 0-360 degree angle, clearing `preferSameSideOfRoad`. `vehicleStopover` indicates a waypoint for vehicle stops, like pickups/drop-offs, adjusting unsuitable locations and operating only in DRIVE and TWO_WHEELER modes. All default to NO except for `preferredHeading` that is -1.\n"],null,["GMSNavigationMutableWaypoint \n\n @interface GMSNavigationMutableWaypoint : ../Classes/GMSNavigationWaypoint.html\n\nA mutable waypoint class.\n- `\n ``\n ``\n `\n\n [preferSameSideOfRoad](#/c:objc(cs)GMSNavigationMutableWaypoint(py)preferSameSideOfRoad)`\n ` \n Whether it is preferred to route the driver to the same side of the road. The route will arrive\n on the preferred side of the road unless there is a significant delay caused by a road closure\n or slow-moving traffic. Default to NO.\n Setting this to true clears any value in [preferredHeading](../Classes/GMSNavigationMutableWaypoint.html#/c:objc(cs)GMSNavigationMutableWaypoint(py)preferredHeading). \n\n Declaration \n Swift \n\n var preferSameSideOfRoad: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL preferSameSideOfRoad;\n\n- `\n ``\n ``\n `\n\n [preferredHeading](#/c:objc(cs)GMSNavigationMutableWaypoint(py)preferredHeading)`\n ` \n An angle used to express the direction of traffic on the side of the road that the vehicle\n should arrive on. Consequently, it is not useful for one-way streets.\n Units expressed in degrees \\[0, 360\\], where 0 means North and angles increase clockwise.\n Default and unset value is -1.\n Setting a valid value will clear the [preferSameSideOfRoad](../Classes/GMSNavigationMutableWaypoint.html#/c:objc(cs)GMSNavigationMutableWaypoint(py)preferSameSideOfRoad). \n\n Declaration \n Swift \n\n var preferredHeading: Int32 { get set }\n\n Objective-C \n\n @property (nonatomic) int32_t preferredHeading;\n\n- `\n ``\n ``\n `\n\n [vehicleStopover](#/c:objc(cs)GMSNavigationMutableWaypoint(py)vehicleStopover)`\n ` \n Indicates that the waypoint is meant for vehicles to stop at, where the intention is to either\n pickup or drop-off. When you set this value, waypoints on roads that are unsuitable for pickup\n and drop-off may be adjusted to a more suitable location. This option works only for DRIVE and\n TWO_WHEELER travel modes. Default to NO. \n\n Declaration \n Swift \n\n var vehicleStopover: Bool { get set }\n\n Objective-C \n\n @property (nonatomic) BOOL vehicleStopover;"]]