Skip to main content

Settings screen

The Navigation SDK UX Framework provides out of the box Settings screen, where a user can adjust the behavior of the UX Framework manually.

You can hide route options item or speed limits options item from the Settings screen:

val config = DashConfig.create(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
uiSettingsConfig {
showRouteOptions = false
showSpeedLimitsOptions = false
}
}
Dash.init(config)

It is also possible to make the update in runtime:

Dash.applyUpdate {
uiSettingsConfig {
showRouteOptions = true
showSpeedLimitsOptions = true
}
}
Was this page helpful?