mapbox / mapbox/mapbox-navigation-ios

[Bug]: While exiting from a tunnel, location is jumped backwards

Open
#4,772 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
918
Forks
326
Avg merge
1h 16m
Merged PRs (30d)
3

Description

### Mapbox Navigation SDK version

Mapbox navigation SDK version 2.18.4

### Steps to reproduce

1. Start a navigation
2. Enter a tunnel on the road
3. While existing from the tunnel user location is jumped backwards

### Expected behavior

While existing from the tunnel user location should not be jumped backwards

### Actual behavior

While exiting from a tunnel, location is jumped backwards
Please take a look the recorded video below:

https://github.com/user-attachments/assets/c232bacb-421e-408c-976a-23feb0a8122e

### Is this a one-time issue or a repeatable issue?

repeatable

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 issue with Mapbox Navigation SDK 2.18.4 using the listed navigation and tunnel steps, and compare the behavior with the recorded video. Trace the iOS location-handling path used while exiting a tunnel; done means the user location no longer jumps backwards in repeatable tunnel-exit runs.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.