【问题标题】:Difference between Android in built Geocoder and Google Geocoding APIAndroid 内置 Geocoder 和 Google Geocoding API 的区别
【发布时间】:2015-06-09 14:15:48
【问题描述】:

谁能告诉我Android GeocoderAndroid Google Geocoder API之间的确切区别

据我所知,Android Geocoder 是平台内置类,与 API 相比,提供的结果更少,可靠性也更低。

内置 Geocoder 类是否有任何硬性限制/配额?

【问题讨论】:

    标签: android google-maps google-maps-api-3 google-geocoder


    【解决方案1】:

    Android Geocoder 内置在类中,没有配额限制。

    Geocoding API 是一个 http 请求,有 2500 个 QPD 配额。地理编码似乎更可靠。

    【讨论】:

    • 你确定 Android Geocoder 没有配额限制吗?您能否参考一些相关的链接或文档。
    • @Verma 这种差异是可以的。但是,还有其他区别吗?
    • 嘿@Verma,我也有兴趣说明Android Geocoder 没有配额限制的相关链接,只是为了确定。
    【解决方案2】:

    Geocoder 只是“一个处理地理编码和反向地理编码的类”。 根据文档: “Geocoder 类需要一个不包含在核心 android 框架中的后端服务。如果平台中没有后端服务,Geocoder 查询方法将返回一个空列表。使用 isPresent() 方法确定是否存在 Geocoder 实现。 "

    Google Geocoding API 是 API,平台中的后端服务。您可以在没有 Geocoder 类的情况下使用它。

    参考:https://developer.android.com/reference/android/location/Geocoder

    【讨论】:

      猜你喜欢
      • 2014-07-23
      • 1970-01-01
      • 1970-01-01
      • 2018-07-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-26
      相关资源
      最近更新 更多