Reputation: 6246
I;m currently using Location.distanceTo(Location) to get how far it is to a location. IS it also possible to get the time it takes to get to a location by E.G driving just using two Locations?
Upvotes: 0
Views: 123
Reputation: 22342
No, it's not possible with just two Location
objects. For that you need to use some service(Google Navigation, etc) to figure it out for you.
Unless you ignore all traffic rules and assume an average speed. Then you could just spit out a number, but it probably won't be very accurate.
Upvotes: 2