The compass heading associated with the direction of the flow of traffic.
This value is used to specify 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, etc.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eLocation\u003c/code\u003e class in the Cloud Optimization v1 API represents a geographic point with an optional heading, and is found within the \u003ccode\u003eGoogle.Cloud.Optimization.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.6.0 is the latest version of the API, with this webpage being documentation for version 2.4.0, and previous versions ranging back to 1.0.0-beta01 are also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocation\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocation\u003c/code\u003e class provides properties like \u003ccode\u003eHasHeading\u003c/code\u003e (boolean), \u003ccode\u003eHeading\u003c/code\u003e (integer), and \u003ccode\u003eLatLng\u003c/code\u003e, which encapsulate details about a location's compass direction and geographic coordinates.\u003c/p\u003e\n"],["\u003cp\u003eThe constructor for the \u003ccode\u003eLocation\u003c/code\u003e class can be called without any parameters or it can be passed another \u003ccode\u003eLocation\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]