title: Calculate actual distance between two points using Google Directions API
body: <p>In my iphone application i am creating a route between two points and using the google directions api to show the html instructions, step distance for each turn in text format.</p>
  
  <p>When using the Directions API i had observed that when the user moves from location A to location D and there is a turn at location B, then the user is notified regarding the turn (i.e in the step of the json response from the direction api ) at point A' (consider A' between A and B). Now the distance of this step should be till location B, but i had found that it is till location B' (which appears after B), now again if i have a turn at location C
  then the start location of step should start from location B, instead it starts from B'.</p>
  
  <p>So my question is how would the user know the actual length of the step. Kindly help.
  Thanks in advance</p>