Creates departure heading information.
Optionaloptions: { accuracy?: number; heading?: number }Configuration options
Optionalaccuracy?: numberThe departure heading accuracy in degrees. Values are in 0-90 interval.
A typical value is 25 degrees. Default is 0
Optionalheading?: numberThe departure heading in degrees. Values are in 0-360 interval with 0 representing magnetic north.
Value -1 means no departure heading is specified. Default is -1
ReadonlyaccuracyThe departure heading accuracy in degrees.
Values are in 0-90 interval. A typical value is 25 degrees
ReadonlyheadingThe departure heading in degrees.
Values are in 0-360 interval with 0 representing the magnetic north. Value -1 means no departure heading is specified
Get hash code for use in maps/sets
InternalSerializes this instance to a JSON-compatible map.
Used internally, not intended for direct use by consumers. The map structure may change without notice.
JSON-compatible map
StaticfromInternalCreates an instance from a JSON-compatible map.
Used internally, not intended for direct use by consumers. The map structure may change without notice.
JSON-compatible map
A new DepartureHeading instance
Departure heading
Contains information about the direction the user is facing.