Want to set or change legIndex of RouteProgress #4162
Unanswered
faliinitse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to change the legIndex of RouteProgress After it initializes in RouteController. I found that legIndex in RouteProgress is public but even if i set it then func updateIndexes(status: NavigationStatus, progress: RouteProgress) method in RouteController revert it back to whatever coming in status.legIndex.
I can also see that in the init of RouteProgress there is an extra parameter legIndex but I can't pass it from anywhere. Can any one help me with this issue?
My main task is to update the RouteProgress if my user is starting the journey in the middle of the Routeprogress. Right now it is starting the progress from 0 legIndex. I want to set it by myself so it should calculate or give me the correct progress.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions