Map API getHeading() Method
Example
Returns the compass heading of aerial imagery:
Definition and Usage
The getHeading() method returns the compass heading of aerial imagery.
The getHeading() method can only be used with SATELLITE or HYBRID map types, which support 45-degree angle imagery viewports at high zoom levels for specific locations.
Syntax
Return Value
| Value | Description |
|---|---|
| number | Compass heading in degrees. |