mapbox / mapbox/mapbox-navigation-ios-examples

Navigation Puck Ignores Loop and Skips Route Section with Overlapping Coordinates

Open
#233 0 comments 0 reactions 0 assignees View on GitHub

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

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.