Skip to main content

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 , 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:

iOS:

Web services APIs:

Was this page helpful?