Skip to main content

UI Configuration

It is possible to adjust some properties of UI in the UX Framework by using DashUiConfig. Setting UiMode property you may select how your app handles themes. If you want to change the way a street number is displayed you should use StreetNameVisibility property.

Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
ui {
uiMode = UiMode.LIGHT
streetNameVisibility = StreetNameVisibility.ONLY_FREE_DRIVE
}
}
Was this page helpful?