bearing
A bearing is the direction you’re facing, measured clockwise as an angle from true north on a compass. This can also be called a heading. In this system, north is 0°
, east is 90°
, south is 180°
, and west is 270°
. When you are viewing a Mapbox map, the bearing rotates the map around its center the specified number of degrees.
The bearing of your map view can be adjusted in many Mapbox products, including Mapbox Studio, Mapbox GL JS, the Mapbox Maps SDKs for Android and iOS, and the Static Images API.
The bearing of a vehicle as it starts from a waypoint can also be set in the Directions API and the Optimization API using the optional bearings
parameter, and in the Mapbox Navigation SDKs for iOS and Android.
Related resources:
Mapbox GL JS:
Android:
- Mapbox Maps SDK for Android bearing documentation
- Mapbox Navigation for Android route generation documentation
iOS:
- Mapbox Maps SDK for iOS bearing documentation
- Mapbox Navigation for iOS route generation documentation
Web services APIs: