Hello for a navigation based application i need to get CGPoint
from coordinates OR MKMapPoint of a MKMapView
. I want to draw a line between these points but not a poly line.
I know all about MKPolyLine and other custom polyLines but due to some specific condition i have to get CGPoint from coordinates OR MKMapPoint..
I know how to get coordinates from CGPoint
CLLocationCoordinate2D touchMapCoordinate
= [mapView convertPoint:touchPoint toCoordinateFromView:mapView];
But i want reverse also.... I know how to get MKMapPoint
MKMapPoint mp = MKMapPointForCoordinate(aCoordinate);
but dont know how to convert MKMapPoint to CGPoint. Please help me.