Skip to main content

Speed limits options

The Navigation SDK UX Framework allows customizing speed limits widget on the map, so we can hide the speed warning (a part of the widget with the current speed) or the whole widget at all.

applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
speedLimitsOptions {
showSpeedLimits = true
showSpeedWarnings = true

It is also possible to update these options in the runtime:

Dash.applyUpdate {
routeOptions {
showSpeedLimits = false
showSpeedWarnings = false
Was this page helpful?