开发者

Convert MKPolygon to UIView

I have a MKMapView with a P开发者_如何学Colygon 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.


You can convert polygon points to view coordinates (if that is what you need) like this:

iPhone SDK: Convert MKMapPoint to CGPoint

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜