-
-
Notifications
You must be signed in to change notification settings - Fork 63
Question about route progress updates #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can set the leg and step index from the |
Hi @boldtrn thanks for your answer! I have researched the usage of the I also investigated the So, I see two potential solutions: either modify the What are your thoughts on this? Do you think it's feasible to expose these methods? If yes, I'd be glad to create a pull request and contribute to this improvement. |
I think you can extend the OffRouteDetector and this will work.
I think this is something we could add, this would make the code easier as well. Feel free to open a PR for this. |
Yes, extending the OffRouteDetector should also work. |
Just to clarify, I think it would make sense to add setOffRouteDetectorCallback method to the abstract class OffRoute. I am not sure we should expose the method onShouldIncreaseIndex publicly, as this is kind of a corner case of OffrouteDetection. |
Yes, that's the approach I would take. |
Is there a way to force instructions to jump into determined route lag and step based on the current user's location?
In our current project, we have a fixed route situation, like a delivery route from a warehouse to the factory for example. And for some scenarios, the user might be alongside and off route.
The problem is when the user goes in the route and start the trip, we are not receiving the updates in the instruction view, I already debugged the NavigationRouteProcessor, NavigationHelper and OffRouteDetector.
In this case the NavigationIndices are not receiving any updates in the NavigationRouteProcessor.
In this case, Is there any approach to solve the instructions update?
The text was updated successfully, but these errors were encountered: