rdf.maxtracklen will give you the best distance (by road) to the tile which is within rdf.mindist tiles of the destination.
So if the algorithm reaches the destination then rdf.mindist is 0 and rdf.maxtracklen will tell you how many road tiles have to be followed to get there.
These variables can be examined after the call to the inital FollowTrack.
I hope this makes sence
