I want to draw path from one location to other location. How to plot the path between two location.
I have coordinates(latitude,longitude) for both location.
How can i achieve this functionality?
Thanks,
Jim.
I want to draw path from one location to other location. How to plot the path between two location.
I have coordinates(latitude,longitude) for both location.
How can i achieve this functionality?
Thanks,
Jim.
- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view
, CGContextMoveToPoint
and CGContextAddLineToPoint
should get you started.