mapbox-navigation-ios
mapbox-navigation-ios copied to clipboard
Add ETA and delay options for route annotation
Would it be possible to add the option to show ETAs for a particular route instead of route duration?
cc @avi-c @1ec5
@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.
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.
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.