Use the google maps API to compute the driving time between two points on an iphone
Hey guys. I have an iphone application that sorts locations based on how long it would take to get there. Is there a way to use google maps (or something similar) to find the travel time between po开发者_开发知识库int A and B? There was a post on this forum over a year ago that said it can only be done in javascript. This post gives a javascript example. Is there a way to run this javascript in cocoa-touch, or does the google maps API now support this? Thanks!
you can check out https://github.com/kishikawakatsumi/MapKit-Route-Directions
精彩评论