This example uses a GPX-file and the Google Maps v2 API with the maps of the Netherlands
to draw the route I took on my bike on a nice August evening in 2005.
The code for this example is made up of bits and pieces found here
And this site
of course also helped a bit to understand the long/lat => distance part.
The map still isn't finished. I also took pictures and those haven't been added yet.