-
Notifications
You must be signed in to change notification settings - Fork 319
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
NAVAND-1311: introduce violated section in route line #7134
base: main
Are you sure you want to change the base?
Conversation
ChangelogFeatures
Bug fixes and improvementsKnown issues
|
How is this different from route restrictions? Is there any context available regarding the feature requirements for this? |
It's based on different data. |
@@ -19,7 +19,7 @@ ext { | |||
|
|||
version = [ | |||
mapboxMapSdk : '10.13.0-rc.1', | |||
mapboxSdkServices : '6.11.0', | |||
mapboxSdkServices : '6.12.0-dzina', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure this doesn't get merged.
I'm not able to run the QA app. from this branch. I'm guessing it's because of |
val startRouteLineDistance = legDistances?.getOrNull(startIndex) | ||
val endRouteLineDistance = legDistances?.getOrNull(endIndex) | ||
if (startRouteLineDistance != null && endRouteLineDistance != null) { | ||
val startOffset = 1.0 - startRouteLineDistance.distanceRemaining / routeDistance!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If granularDistances above is nullable doesn't that also mean granularDistances?.completeDistance can be null? Here you're assuming it won't be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But then startRouteLineDistance would be null and we wouldn't have entered this branch.
Unfortunately I can't merge mapbox-java PR and release it until it's all ready on server-side. |
No description provided.