Replies: 2 comments 4 replies
-
These four aggregate properties alone don’t make for a particularly compelling case to migrate wholesale to MBNNActiveGuidanceInfo, since they’re nothing more than basic arithmetic. In fact, in order to avoid wrapping the C++ object, we’d end up introducing quite a bit of parallel state that can easily get out of sync. But there may be other properties worth copying into the progress classes on each location update, as we currently do with some of the RouteStepProgress properties. |
Beta Was this translation helpful? Give feedback.
4 replies
-
ab kuch nai ho sakta |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Navigation Status contains
activeGuidanceInfo
property1It contains information route progress (https://github.com/mapbox/mapbox-navigation-native/blob/master/bindings/generated/objc/MBNNActiveGuidanceProgress.h) for route/leg/step, like:
We don't use this information and calculate it on the SDK side. I prototyped possible implementation2 and tested it in the Example app. I haven't found apparent issues, although tests were failing (RouteProgressTests and this is expected).
The question is shall we migrate to MBNNActiveGuidanceInfo?
@mapbox/navigation-ios
Footnotes
https://github.com/mapbox/mapbox-navigation-native/blob/506ca792c4ff2bd98c0f2b2b0f59d98fb2617844/bindings/generated/objc/MBNNNavigationStatus.h#L135 ↩
https://github.com/mapbox/mapbox-navigation-ios/tree/feature/active-guidance-info ↩
Beta Was this translation helpful? Give feedback.
All reactions