-
Notifications
You must be signed in to change notification settings - Fork 318
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adopt named arrival instructions from Directions API #1123
Comments
Note that it would be insufficient to append the waypoint name to the server-generated instruction, for the following reasons:
|
@1ec5 would this require some server involvement? IE the response would change to
|
That would be a sensible alternative to what’s proposed above. However, if the Directions API doesn’t add any support for this option, then we’d need to build some of our own voice instructions on the client side, essentially. |
Server will name the waypoint in the banner, but MapboxDirections.swift will eventually need to change. |
This should no longer be blocked upstream |
Next steps:
|
Update:
|
☝️ will happen as part of mapbox/mapbox-directions-swift#271. |
|
|
Spoken instructions for an
arrive
step should include the name of the waypoint. In typical SDK usage, the developer supplies aWaypoint.name
that’s either the name of a point of interest or an address. The user would find it very useful to hear the address when arriving at the destination. Arriving at a named waypoint is a basic use case, so the SDK should handle it without requiring any developer intervention.Currently, the arrival instructions come from the Directions API, like any other instruction. In the absence of Directions API support for this feature, the SDK would need to ignore the
arrive
step’sSpokenInstruction
objects in favor of its own homegrown instruction strings. For localization, we have two options:/cc @mapbox/navigation-ios @mapbox/guidance
The text was updated successfully, but these errors were encountered: