mapbox / mapbox/mapbox-navigation-ios-examples
Show how to bulid a Custom UI
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 63
- Forks
- 32
- Avg merge
- 5m
- Merged PRs (30d)
- 1
Description
If a developer does not want to use `NavigationViewController` and all of the pre-baked UI we bundle in the SDK, they should still be able to connect `CoreNavigation` to their own Custom UI.
This is a frequent request from developers that want to build custom turn-by-turn experiences, but none of our examples demonstrate how the key parts this type of implementation would work.
A new example that at the bare minimum demonstrates the following would be beneficial:
* How to retrieve instructions from `RouteProgress` and pass them to a Custom UI element
* How to trigger voice guidance when navigating with a Custom UI
cc: @mapbox/navigation-ios
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the existing Swift examples and the CoreNavigation, NavigationViewController, and RouteProgress APIs first. Add a custom-UI example showing how to retrieve route instructions and trigger voice guidance without the bundled UI; it is done when both flows are demonstrated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- documentation, mobile
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100