【问题标题】:Mapkit latitude and longitude to screen coordinatesMapkit 经纬度到屏幕坐标
【发布时间】:2009-11-30 15:52:56
【问题描述】:

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

【问题讨论】:

    标签: iphone cocoa-touch mapkit


    【解决方案1】:

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

    - (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(UIView *)view
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2013-04-14
      • 2013-02-14
      • 1970-01-01
      • 1970-01-01
      • 2010-09-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多