title: Determine if MKOverlay contains a CLLocationCoordinate2D (or MKMapPoint)
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4354130/how-to-determine-if-an-annotation-is-inside-of-mkpolygonview-ios">How to determine if an annotation is inside of MKPolygonView (iOS)</a>  </p>
  </blockquote>
  
  
  
  <p>I am trying to determine wether a location is contained inside an overlay on my MKMapView.</p>
  
  <p>I have looked at <code>MKMapRectContainsPoint</code> and that works if the overlay is a rectangle; using the <code>boundingMapRect</code> property of MKOverlay.</p>
  
  <p>The problem is that if the region is not a rectangle the function will still returns true as it looks at the max and minimum coordinates to create the square.</p>
  
  <p>I would really appreciate any help on this!</p>
  
  <p>Thanks!</p>