title: Convert CLLocation or CLLocationCoordinate2D to CGPoint
body: <p>How can I convert <code>CLLocation</code> or <code>CLLocationCoordinate2D</code> to <code>CGPoint</code>.
  I have seen </p>
  
  <pre><code>CGPoint point = [mapView convertCoordinate:myCoordinates toPointToView:self.view];
  </code></pre>
  
  <p>But I don't need to use <code>mapView</code> in my case. I tried googling, but didn't come across anything helpful.</p>
  
  <p>Edit:
  I need to convert the geographic coordinates to iPad's screen coordinate as in <a href="https://stackoverflow.com/questions/16124171/convert-decimal-latitude-longitude-coordinates-to-ipad-screen-coordinates">Convert decimal latitude/longitude coordinates to iPad screen coordinates</a>.
  I am trying to draw line/path based on the converted coordinate values.</p>
  
  <p>Is there a direct way to do it, or do I need to write an algorithm to do the same.</p>