This works pretty good. Thanks for posting.
One question though. In Google Maps when drawing out your track, how do your delete the last point you made?? If I hit escape it deletes the entire track I have created up to that point.
When I am mapping out a possible track, sometimes I choose a path and want to back up a bit and choose a different way.