iPhone: Using Google to get directions

前端 未结 2 1883
长情又很酷
长情又很酷 2021-02-02 04:07

In order to get directions, Google provides this nice URL:

Sample here...

How can I use the information that Google provides to get the same direction line on a

2条回答
  •  抹茶落季
    2021-02-02 04:56

    You will have to either use a web view with a Google map, or draw on the MKMapView with overlays. There are a couple of projects on GitHub that do this:

    https://github.com/kadirpekel/MapWithRoutes

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

提交回复
热议问题