> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/android/ja/navigation/ux/llms.txt)

# Route options

The Navigation SDK UX Framework allows customize routing options, they affect the active guidance: avoid ferries, avoid highways, and so on.

```kotlin
Dash.init(
   applicationContext = applicationContext,
   accessToken = getString(R.string.mapbox_access_token)
) {
  routeOptions {
    avoidHighways = true
    avoidTolls = true
    avoidFerries = true
    alleyBias = -0.2
    maxWidth = 2.2
  }
}
```

It is also possible to update routing options in runtime:

```kotlin
Dash.applyUpdate {
  routeOptions {
    avoidHighways = false
    avoidTolls = false
    avoidFerries = false
    alleyBias = 0.0
    maxWidth = 1.9
  }
}
```