How do i open Google Maps for directions using coordinates on the iphone

后端 未结 7 1906
礼貌的吻别
礼貌的吻别 2020-12-12 18:29

I am using UIMapView to display locations on the iPhone. I want to do a directions from current location to the location of interest, I don\'t think its possible using MapKi

7条回答
  •  攒了一身酷
    2020-12-12 19:05

    It is possible.Use MKMapView Get the location coordinate where you tapped on the phone and using the two coordinates request the KML file from the google web service ,parse the KML file (sample app KML viewer in developer site) and display the routes....
    Thank you

提交回复
热议问题