MKMapView - 转换long / lat以查看x / y

时间:2013-01-28 12:04:56

标签: ios xcode mkmapview latitude-longitude

我正在尝试将mapview中的特定点映射到我的视图。我使用以下代码,但它返回一些非常高和错的数字。

CGPoint annPoint = [self.mapView convertCoordinate:coord toPointToView:self.view];

有人可以帮助我吗?

1 个答案:

答案 0 :(得分:1)

我发现了错误。在我可以调用convertion方法之前,应该加载maplet(completly?)。

相关问题