Fix coordinate calculations and route display.