If you have the coordinates for every kilometer than you can show it. You would need to add logic if you don't have this data. You can do this by calculating the distance using the Haversine formula: http://rbrundritt.wordpress.com/2008/10/14/calculate-distance-between-two-coordinates/
http://rbrundritt.wordpress.com