Closed tallongsun closed 11 months ago
Thanks for catching this. Could you rebase your changes onto the current main, as your commit history seems wrong. It should only contain this commit: https://github.com/maplibre/maplibre-navigation-android/pull/81/commits/7cae144df35e17cd7a32ba6a1da6c751e81f2010
@boldtrn Done
Think the progress variable here should be the method parameter
routeProgress
rather than class member variablethis.routeProgress
. When buildRequest() is called by findRouteFromRouteProgress(), this.routeProgress = routeProgress. However when it is called by findRouteFrom(), this.routeProgress is not assigned. So when rerouting occurs on off route event, it doesn't take effect.