mapbox / mapbox/mapbox-navigation-ios

Puck keeps simulating on preview map after ending navigation

Open
#3,499 20 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Mapbox Navigation SDK version

2.0.0

Steps to reproduce
  1. choose Example, choose a customized location, start navigation under simulation mode
  2. cancel navigation
Expected behavior

The user location indicator should stop because there's no location update

Actual behavior

There're continuous location update under the passive location provider, which triggers the user location indicator moving in the NavigationMapView as following:

passive

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 with the Example flow and reproduce the issue in simulation mode by cancelling navigation. Trace the passive location provider and NavigationMapView behavior after cancellation; done means the user location indicator stops moving when navigation ends.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.