GoogleMaps: Calculated distance route from 2 latitude longitude

GoogleMaps: Calculated distance route from 2 latitude longitude

  

Hi,

I want calculated  distance route between 2  latitude longitude not radius.

Which one is true, uses distancebetween () function or gDir.load() function??

can you give me example?