Skip to main content

Module navigation

Module navigation 

Source
Expand description

Turn-by-turn navigation math. Port of navigation.ts + routing.ts.

Structs§

Maneuver
A single navigation maneuver.
NavProgress
Navigation progress along a route.

Functions§

detect_maneuvers
Detect maneuvers along a route polyline.
nav_progress
Compute navigation progress given the user’s current position.
position_at_distance
Simulate moving along the route: position after travelling dist_m from start.
turn_instruction
Classify a turn angle into a human instruction.