UI components
The Mapbox Navigation SDK for Android offers several pre-built UI components. You can use any combination of UI components to build a custom turn-by-turn or free-drive navigation experience for your users. Use a component's smart default to get started quickly or customize a component to create a unique navigation experience.
Add the dependency
UI components artifact is not part of the com.mapbox.navigationcore:android
, so you will need to add the ui-components
dependency explicitly.
To use UI components in your app, add the following library dependency to your build.gradle
:
dependencies {
implementation "com.mapbox.navigationcore:ui-components:3.5.1"
}
See Installation guide for more information on how to properly set up repositories to access SDK artifacts and add required dependencies.
この{Type}は役に立ちましたか?