This code sample describes how to get fine-grained control over route calculation by making certain road types more or less attractive.For detailed information see the Penalties concept.