Drawing Routes on Map using MapKit based on current location
In my application i want to draw Routes based on the current location moving, For Example If i am starting at a point and while i am moving the current location also navigates with me, I have to draw route along the way i am moving.
I saw some sample applications but in those apps the Lat and Long values are hard开发者_如何转开发coded. How can i do this, I want to draw the route dynamically along the moving of current app. Please give me any idea.
Thanks.
Apple supplied a demo application called Breadcrumb with the 2010 WWDC Developer videos that does exactly this. You can get the sample code from here: http://developer.apple.com/videos/wwdc/2010/
精彩评论