mapbox / mapbox/mapbox-navigation-ios-examples
Navigation Puck Ignores Loop and Skips Route Section with Overlapping Coordinates
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 63
- Forks
- 32
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
https://github.com/user-attachments/assets/68d3a8f4-46b5-4bed-a92d-17ba6e961828
I'm encountering a rerouting/navigation issue in Mapbox Navigation SDK for iOS when the route contains waypoints that cause the path to double back on itself. Specifically:
The route includes a loop or overlap near the 4th waypoint.
On the map, this results in a double polyline being drawn at the overlapping section.
However, during active navigation (simulation mode), the navigation puck fails to follow the intended loop.
Instead of turning to follow the correct polyline, the puck continues in a straight line, effectively skipping the turn or maneuver that loops back.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported route in Mapbox Navigation SDK for iOS simulation mode, using the overlapping or looping coordinates near the fourth waypoint described in the issue. Compare the drawn route with the navigation puck and maneuver behavior; done means the puck follows the intended loop instead of continuing straight and skipping the route section.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100