title: Xamarin.Forms: how to get driving distance between two points?
body: <p>My app currently uses Location Services. During debugging, I retrieve my current location using <code>GetLastKnownLocationAsync</code>: <code>myposition.Latitude</code> is <em>40.758896</em> while <code>myposition.Latitude</code> is <em>-73.985130</em>.</p>
  
  <p>My SQL Database has a list of Walmart stores, and there's a Walmart with <em>Latitude</em> &amp; <em>Longitude</em> of <em>40.660992</em> &amp; <em>-73.7267629</em>.</p>
  
  <p>How can I calculate the driving distance between my set of coordinates and Walmart's coordinates? It would be something like Google Maps' Driving Directions or Waze.</p>
  
  <p>I understand that I can use this <a href="https://stackoverflow.com/questions/2010466/how-can-i-determine-the-distance-between-two-sets-of-latitude-longitude-coordina">SO link</a> to calculate the distance between two sets of point, but I assume apps like Google Maps or Waze consider the actual driving distance between two sets of points. The link above would be great if there were a straight street between two points. Obviously, that's not the case. </p>