set Country Avoided
open fun setCountryAvoided(@NonNull() countryIso: String, avoid: Boolean)
Content copied to clipboard
Sets the flag indicates whether country should be avoided when computing the route.
Parameters
countryIso
Iso code of country we want to apply restriction. Iso code is can be obtained via getTransitCountries
avoid
If to avoid or not to avoid the country