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

Add ETA and delay options for route annotation

Open ZiZasaurus opened this issue 3 years ago • 3 comments

Would it be possible to add the option to show ETAs for a particular route instead of route duration?

cc @avi-c @1ec5

ZiZasaurus avatar Jun 30 '21 16:06 ZiZasaurus

@ZiZasaurus, could you please provide more details on this one? You mean showing ETA only for specific route, or all (the way it works now, but with different information (ETA) with callout view)?

We currently expose NavigationMapView.showRouteDurations(along:), so we'll have to either deprecate current method and add new one, or introduce different one, which plays role of showing ETAs only.

I'm moving this ticket to v2.2 for now, as there is a low chance that we'll be able to consider it for v2.1 due to time constraints.

MaximAlien avatar Nov 16 '21 01:11 MaximAlien

In addition to duration and ETA, some applications might want to show the amount of delay on one option versus another based on the typical driving time exposed in mapbox/mapbox-directions-swift#462. This would be a great default for the alternative routes that would be shown during turn-by-turn navigation in #3598.

1ec5 avatar Nov 18 '21 19:11 1ec5

In scope of this task we should also consider a possibility of design changes based on data, which will be shown in callout. This can be tracked in different ticket if needed.

MaximAlien avatar Nov 18 '21 19:11 MaximAlien