Home > @magiclane/maps-sdk > DepartureHeading
DepartureHeading class
Departure heading
Contains information about the direction the user is facing.
Routing
Signature:
export declare class DepartureHeading Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates departure heading information. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| number | The departure heading accuracy in degrees. Values are in 0-90 interval. A typical value is 25 degrees | |
| number | The departure heading in degrees. Values are in 0-360 interval with 0 representing the magnetic north. Value -1 means no departure heading is specified |
Methods
Method | Modifiers | Description |
|---|---|---|
Check equality with another DepartureHeading | ||
Get hash code for use in maps/sets |