Google Distance API ( How to calculate and display distance between 2 locations)

Am looking for the same feature, please share if this is resolved.