1

我有 mapkit 视图,如何将纬度和经度转换为屏幕坐标?

4

1 回答 1

5

在您的 MKMapView 对象上使用此方法:

- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view
于 2009-12-07T19:23:06.660 回答