Map Libre Navigation Options
Immutable and can't be changed after passing into MapLibreNavigation.
Constructors
Properties
When calculating whether or not the user is on the route, we look where the user will be given their speed and this variable.
If enabled, the default milestones VoiceInstructionMilestone and BannerInstructionMilestone are added and used by default.
In seconds, how quickly FasterRouteDetector will tell RouteProcessorBackgroundThread to check for a faster org.maplibre.navigation.core.models.DirectionsRoute.
If true, the SDK will print debug logs.
Default location acceptable accuracy threshold used in {@link LocationValidator}.
Radius in meters the user must enter to count as completing a step. One of two heuristics used to know when a user completes a step, see .maxTurnCompletionOffset.
Maximum angle the user puck will be rotated when snapping the user's course to the route line.
Threshold user must be within to count as completing a step. One of two heuristics used to know when a user completes a step, see .maneuverZoneRadius. The users heading and the finalHeading are compared. If this number is within this defined value, the user has completed the step.
Meter radius which the user must be inside for an arrival milestone to be triggered and navigation to end.
Minimum distance in meters that the user must travel after a re-routing was done.
Minimum distance in meters that the user must travel in the correct direction before the off-route logic recognizes the user is back on the right direction
Minimum distance in meters that the user must travel in the wrong direction before the off-route logic recognizes the user is moving away from upcoming maneuver
Threshold for off-route detection. If the user is outside of this defined radius, the user always is off route. Radius defined in meters.
The increment used for rounding the user's speed and the remaining duration of the route.
Seconds used before a reroute occurs.
Accepted deviation excluding horizontal accuracy before the user is considered to be off route.