【问题标题】:iPhone SDK - MapKit CoreLocation - Make street address from latitude and longitudeiPhone SDK - MapKit CoreLocation - 根据纬度和经度制作街道地址
【发布时间】:2010-08-03 02:45:13
【问题描述】:

我正在构建的应用程序出现问题。

我可以检索用户的纬度和经度,但是我需要将这些值转换为 NSString 街道地址。 IE。 “悉尼公园街 123 号”。

知道如何根据坐标创建街道地址吗?

【问题讨论】:

    标签: iphone mapkit core-location


    【解决方案1】:

    查看MKReverseGeocoder 的文档。

    编辑:如the documentation 中所述,MKReverseGeocoder 在 iOS 5.0 中已弃用。请改用CLGeocoder 类(documentation hereexample code here)。

    【讨论】:

    • 谢谢,想通了。 initWithCoordinate: 解决问题 :)
    猜你喜欢
    • 2015-12-06
    • 2010-09-14
    • 2018-01-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多