GoogleDistance

Jun 18, 2010 at 6:03 PM
Hi Guys, Firstly, I have to say thank you for creating a cracking control! Does anyone know how to use the Google distance method? Thanks!
Jun 21, 2010 at 4:12 AM

Try this:

GDirections destDist = new GDirections(Dest1.latitude, Dest1.longitude, Dest2.latitude, Dest2.longitude);

decimal destDistance = destDist.DrivingMiles;