How to convert CLLocation or CLLocationCoordinate2D to CGPoint . I have seen
CGPoint point = [mapView convertCoordinate:myCoordinates toPointToView:self.view];
But I do not need to use mapView in my case. I tried searching the Internet but did not find anything useful.
Edit: I need to convert geographic coordinates to iPad screen coordinates, as in Convert decimal latitude / longitude coordinates to iPad screen coordinates . I am trying to draw a line / path based on the converted coordinate values.
Is there a direct way to do this, or do I need to write an algorithm to do the same.
source share