【问题标题】:How to get the address of a latitude and longitude in an iphone application如何在iphone应用程序中获取经纬度地址
【发布时间】:2011-01-05 01:02:45
【问题描述】:

我正在使用 CLLocation 获取纬度和经度。我想知道如何使用这个纬度和经度来获取地址。请帮帮我。

【问题讨论】:

标签: iphone objective-c google-maps


【解决方案1】:

您可以为此目的使用MKReverseGeocoder 类,它使用谷歌反向地理编码工具。

更新: MKReverseGeocoder 类在 iOS 5 中已弃用,您应该改用 Core Location 框架中的 CLGeocoder 类。它提供了正向和反向地理编码的功能 - 查看class reference了解更多详情

【讨论】:

  • 这个类在 iOS5 :S 中被弃用了。
猜你喜欢
  • 1970-01-01
  • 2010-12-02
  • 1970-01-01
  • 2013-07-04
  • 2014-06-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多