I am evaluating using google's Distance Matrix / Places / Maps API, versus Apple's Maps api for an iOS app.
I am looking at the MKDirectionsRequest
class, and I can't seem to find a way to determine what the driving time is between the two points. If this is possible using the apple Maps API, could someone please point me in the right direction?
I am hoping it would be possible to accomplish this just using Apple's API, but it looks like this is only going to be possible with Google's API.
No, apple does not have any such way to get driving time between 2 locations.
I'll suggest using Google API. Look at Google Direction web service.
来源:https://stackoverflow.com/questions/16761157/is-there-any-way-to-determine-the-driving-time-between-two-locations-using-apple