iPhone:使用Google获取路线

Ian*_*ink 4 iphone google-maps-api-3 ios

为了获取路线,Google提供了这个不错的网址:

这里的样品......

如何使用Google提供的信息在应用中的MKMapView上获取相同的方向线?

nev*_*ing 8

您必须使用带有Google地图的网络视图,或使用MKMapView带有叠加层进行绘制.GitHub上有几个项目可以做到这一点:

https://github.com/kadirpekel/MapWithRoutes

https://github.com/kishikawakatsumi/MapKit-Route-Directions