mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

[Bug]: NavigationViewController forgets Waypoint names after rerouting

Open JanTG1 opened this issue 3 years ago • 0 comments

Mapbox Navigation SDK version

2.6.0

Steps to reproduce

  1. Create a Route with a given set of Waypoints, each with a custom name.
  2. Start driving in a simulator and go off-road to trigger a reroute from shouldRerouteFrom.
  3. Check the names of your waypoints.

Expected behavior

The waypoints should keep their attributes such as their name/descriptions.

Actual behavior

The waypoints are renamed to describe the position they are at, like the road name for example. This creates issues because I use the waypoint names to identify what kind of waypoint it is and handle logic based on that information. This breaks as soon as a reroute is called even once.

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

repeatable

JanTG1 avatar Sep 29 '22 09:09 JanTG1