PitchNearManeuvers

class PitchNearManeuvers

Options that modify the framed route geometries when approaching a maneuver.

Constructors

Link copied to clipboard
fun PitchNearManeuvers()

Properties

Link copied to clipboard
var enabled: Boolean = true

Preconditions:

Link copied to clipboard
var excludedManeuvers: List<String>

List of maneuvers for which camera frames pitch should not be set to 0.

Link copied to clipboard
var triggerDistanceFromManeuver: Double = 180.0

When this option is enabled and the preconditions are met, this variable describes the threshold distance to the next maneuver makes the frame with pitch 0, based on the MapboxNavigationViewportDataSource.onRouteProgressChanged.