Skip to main content
For the complete documentation index, see llms.txt.

Destination preview

Navigation SDK UX Framework comes with the predefined user flow for looking of the route to the destination: show destination location on the map, route preview, starting turn-by-turn navigation. It is possible to customize that flow.

To skip a destination preview step and provide a route preview without user interaction use the following configuration option:

Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
destinationPreview {
skipDestinationPreview = true
}
}

You can also update the preference at any point in the runtime:

Dash.applyUpdate {
destinationPreview {
skipDestinationPreview = false
}
}
Was this page helpful?