baxxter
baxxter

Reputation: 31

Draw Lines between pins with iphones Map Kit

Is it possible to draw custom lines between two or more locations with the MapKit? Or do I need a custom overlay? Is there some kind of tutorial about this topic?

I have a working "Google Maps Application" and now I want to connect my locations with straight lines.

http://maps.google.com/maps/api/staticmap?size=400x400&zoom=13&path=color:0xff0000ff|weight:5|40.737102,-73.990318|40.749825,-73.987963&markers=color%3ablue|label%3aS|40.737102,-73.990318|40.749825,-73.987963&sensor=false

Upvotes: 3

Views: 4300

Answers (2)

Bhavesh Nayi
Bhavesh Nayi

Reputation: 3656

You Can Draw Lines Between Two pins

See The Link: mapkit route

Upvotes: 0

ipraba
ipraba

Reputation: 16543

You can draw lines in map using MKPolyline.

See this link

http://spitzkoff.com/craig/?p=136

Upvotes: 2

Related Questions