SkylarSch
SkylarSch

Reputation: 389

Convert MKPolygon to UIView

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

Answers (1)

SVD
SVD

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

Related Questions