mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

Casing is incorrectly drawn for vanishing route line with intermediate waypoint.

Open MaximAlien opened this issue 5 years ago • 1 comments

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:

Screen Shot 2020-11-09 at 12 31 29 PM

@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

MaximAlien avatar Nov 09 '20 21:11 MaximAlien

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.

1ec5 avatar Dec 17 '20 17:12 1ec5