Google Map Route Draw on IPhone

google-maps, iphone, routes

Solution

Maybe you want to take a look at Craig Spitzkoff's MapLinesAndAnnotations sample that he recently wrote:

- Drawing polyines or routes on a MKMapView (Using Map Kit on the iPhone)

- Using MKAnnotation, MKPinAnnotationView and creating a custom MKAnnotationView in an MKMapView

Problem

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.

Original source

Related problems