Casing is incorrectly drawn for vanishing route line with intermediate waypoint.
Mapbox Navigation SDK version: main
After reverting back NavigationMapView.shape(forCasingOf:legIndex:) in https://github.com/mapbox/mapbox-navigation-ios/pull/2623 main route casing for vanishing route line is no longer in sync during active-guidance navigation. For example:
@Udumft, @1ec5 I think you mentioned that there are clients that still use this method. Would you be able to describe it in more detail? When I look at current implementation of NavigationMapView.shape(forCasingOf:legIndex:) here:
https://github.com/mapbox/mapbox-navigation-ios/blob/829a91c87ebdce876dd0f906467ebaa8693ca14c/MapboxNavigation/NavigationMapView.swift#L1206-L1221
it seems that its implementation should be similar to NavigationMapView.shape(for:legIndex:).
/cc @mapbox/navigation-ios @1ec5 @Udumft
I think you mentioned that there are clients that still use this method. Would you be able to describe it in more detail?
We’ve heard about this issue from a couple developers, including in #2678, but also for another customer who’s using the route shape override.