I am developing an application that has two versions. One for web and another for iPhone.
In the web app, I am able to draw a route on the road (drawing the route automatically that follows roads/highways) and off road (draw direct line between two specific points).
Is there an API, for iPhone, that can be used to draw a route on the map? I am able to draw a straight line on the map between two nodes, but i am not able to draw a road map route in iPhone.
I am using iPhone 3.0 and SDK 3.0
Thanks.
Maybe you want to take a look at Craig Spitzkoff's MapLinesAndAnnotations sample that he recently wrote:
there's a new API in iOS4 called MKOverlayPathView which does exactly this. MKOverlayPathView
I just wanted to update this post with this information so people get the whole story.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With