isHighwayAvoided

open fun isHighwayAvoided(@NonNull countryIso: String): Boolean

Returns if the highway should be avoided when computing the route.

Return

If highway is avoided

Parameters

countryIso

Iso code of country we want to apply restriction. Iso code is can be obtained via getTransitCountries


open fun isHighwayAvoided(): Boolean

Returns if the highway should be avoided when computing the route.

Return

If highway is avoided