The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, and so on. You can use this field only for DRIVE and TWO_WHEELER travel modes.
[null,null,["Last updated 2025-08-27 UTC."],[],["The content describes a location represented in JSON, which includes geographic coordinates (`latLng`) and an optional compass heading. `latLng` specifies the location's coordinates, while `heading` indicates the direction of traffic flow, relevant for `DRIVE` and `TWO_WHEELER` modes. The heading value ranges from 0 to 360, with 0 being North and 90 East. This structure defines a waypoint's location and directional context for specific travel modes.\n"]]