Knowledge Base
What road types can be specified to avoid when planning a route

What road types can be specified to avoid when planning a route?

You can specify the avoids that need to be taken into consideration when calculating a route using the

  • RoutePlanningOptions.costModel.avoidOptions.avoidTypes parameter (Android)

  • AvoidOptions.avoids (iOS).


For both platforms, the avoid can be specified multiple times.

Avoids include:

  • Toll roads

  • Motorways

  • Ferries

  • Unpaved roads

  • Carpool/HOV lanes

  • Roads already used on the route (useful for round trips where drivers don't want to take the same way back)

  • Border crossings

  • Tunnels

  • Car trains