I am making an app based on google map.where I am measuring distance between two places. so I have tried to find distance between two place coordinate by predefined method "getDistanceFrom" and tried with googleDirectionAPi. if I use predefine method I did not get correct distance. if I use googleDirectionApi sometimes I did not get response.
so please suggest me solution where I can find response on every hit of api and will able to get distance between two place?