3

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.

wfbarksdale
  • 7,498
  • 15
  • 65
  • 88
  • 1
    The first answer is now outdated. See here: https://stackoverflow.com/questions/23084304/calculate-time-taken-to-cover-a-journey-in-apple-maps. – Craig McMahon Jun 29 '17 at 07:58

1 Answers1

2

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.

Geek
  • 8,280
  • 17
  • 73
  • 137