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."],[[["`GMSNavigationMutableWaypoint` allows customization of waypoint behavior for navigation."],["It enables setting preferences for arriving on the same side of the road or with a specific heading."],["Waypoints can be designated as vehicle stopovers for pickup/drop-off optimization, applicable to DRIVE and TWO_WHEELER travel modes."],["By default, `preferSameSideOfRoad` and `vehicleStopover` are NO, while `preferredHeading` is -1 (unset)."]]],["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"]]