Is there a way to make a line between two coordinates in a map view of MapKit?
I have two locations. A current location (=visible) and a target location where the user may want to go to. could I make a line fro开发者_如何学JAVAm my current location to the target location? as far as I get it, I can only create annotations. But maybe there's a way to just draw in there?
I believe you have to create custom class that implements the MKAnnotation protocol.
There is some good sample code on doing this to create routes at The Reluctant Blogger
精彩评论