The getHeading() method returns the compass heading of aerial imagery.
The getHeading() method can only be used with map type: SATELLITE or HYBRID (which support a 45° perspective imagery view for certain locations, at high zoom levels).
| Value | Description |
|---|---|
| number | The compass heading in degrees |
Your message has been sent to W3Schools.