Factor out more routeTo() code and use it in a function which lets you get the shortest route to either a single destination, or an array of destinations.