PitchNearManeuvers

class PitchNearManeuvers

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

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

enabled
Link copied to clipboard
var enabled: Boolean = true
Preconditions:When enabled the generated following camera frame will have pitch 0 when triggerDistanceFromManeuver is met.
excludedManeuvers
Link copied to clipboard
var excludedManeuvers: List<String>
List of maneuvers for which camera frames pitch should not be set to 0.
triggerDistanceFromManeuver
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.