Reputation: 389
I have a MKMapView with a Polygon overlay that I need to convert into a UIView. I have the reference to the MKMapView and the MKPolygon, but I can't seem to find a way to pull the coordinates of the MKPolygon and convert them back into screen coordinates for the UIView.
Upvotes: 2
Views: 350
Reputation: 4753
You can convert polygon points to view coordinates (if that is what you need) like this:
iPhone SDK: Convert MKMapPoint to CGPoint
Upvotes: 1