This code sample describes how to calculate a route with allowed or prohibited countries.For detailed information see the Geographic Restrictions concept.