BearingSmoothing
class BearingSmoothing
Options that impact bearing generation to not be fixed to location's bearing but also taking into the direction to the upcoming maneuver.
Properties
Link copied to clipboard
If enabled, the following frame's bearing won't exactly reflect the bearing returned by the Location from MapboxNavigationViewportDataSource.onLocationChanged but will also be affected by the direction to the upcoming framed geometry, to maximize the viewable area.
Link copied to clipboard
When enabled, this controls how much the following frame's bearing can deviate from the Location bearing, in degrees.