posted 7 years ago
I am currently learning to use the MapKit API in developing iPhone apps, and I want to know if it is possible to show a path from point A to point B on a map application on the iPhone? I am working on a basic app right that shows the user the closest specialty restaurants to the user, and would like to be able to show the user the shortest route. Is this possible?
Thanks in advance.
Sincerely;
Fayyaz
Thanks in advance.
Sincerely;
Fayyaz
posted 7 years ago
Fayyazuddin,
The routing you see in the maps app comes from the Google Maps API on the web.
Check out this great tutorial on it here:
http://blog.kadirpekel.com/2010/05/30/drawing_routes_onto_mkmapview_using_unofficial_google_maps_directions_api/
I have downloaded and played with the sample app and it seems to do exactly what you need.
Another option would be to simply open up the path in the Maps app.
Cheers!
The routing you see in the maps app comes from the Google Maps API on the web.
Check out this great tutorial on it here:
http://blog.kadirpekel.com/2010/05/30/drawing_routes_onto_mkmapview_using_unofficial_google_maps_directions_api/
I have downloaded and played with the sample app and it seems to do exactly what you need.
Another option would be to simply open up the path in the Maps app.
Cheers!
Fayyazuddin Syed
Greenhorn
Posts: 10
posted 7 years ago
As well there are other third party libraries are available for map.
You can use RouteMe, CloudMade for different Map tiles, if you are interested.
Thanks
Pratik Goswami
Fayyazuddin Syed wrote:I am currently learning to use the MapKit API in developing iPhone apps, and I want to know if it is possible to show a path from point A to point B on a map application on the iPhone? I am working on a basic app right that shows the user the closest specialty restaurants to the user, and would like to be able to show the user the shortest route. Is this possible?
As well there are other third party libraries are available for map.
You can use RouteMe, CloudMade for different Map tiles, if you are interested.
Thanks
Pratik Goswami
