The Mapbox Navigation SDK v2 is now available in public preview. The Navigation SDK v2 offers improved performance and additional features like predictive caching.
To start building with the Navigation SDK v2, visit the public preview documentation.
The Mapbox Navigation SDK gives you all the tools you need to add turn-by-turn navigation to your application. It takes only a few minutes to drop a full-fledged turn-by-turn navigation view controller into your application. Or use the Core Navigation framework directly to build something truly custom.
The Navigation SDK is divided into two frameworks: the Mapbox Core Navigation framework (
MapboxCoreNavigation) and the Mapbox Navigation framework (
The Mapbox Core Navigation framework (
MapboxCoreNavigation) contains the logic that allows you to receive user location updates, determine their relation to the route line, and get notifications that indicate the current state of the application in the form of a
You can use
MapboxCoreNavigation directly in your project to build a completely custom navigation UI or use it via the Mapbox Navigation framework (
MapboxNavigation), which is powered by
The Mapbox Navigation framework (
MapboxNavigation) is the ready-made turn-by-turn navigation user interface (UI). Use
MapboxNavigation to get up and running quickly with an in-app navigation experience. With a few lines of code, add a drop-in UI, automatic day-to-night map switching, and automatic rerouting in traffic. Adjust the style of various elements of the ready-made UI, react to location-related events as they occur, and adjust various aspects of the map view’s appearance.
The Mapbox Navigation SDK and Core Navigation are compatible with applications written in Swift 5 in Xcode 10.2 and above. The Mapbox Navigation and Mapbox Core Navigation frameworks run on iOS 10.0 and above.
For further details, consult the guides and examples included with this API reference. Documentation for the Mapbox Navigation SDK for iOS comes in the form of: