【问题标题】:Get Businesses list or store list around given Latitude and longitude? [closed]获取给定纬度和经度附近的企业列表或商店列表? [关闭]
【发布时间】:2012-02-25 03:14:38
【问题描述】:

获取给定纬度和经度附近的企业列表或商店列表?

是否有任何 API 或服务?

【问题讨论】:

标签: iphone api google-maps geolocation location


【解决方案1】:

使用 maps.google.com 非常简单。

让我们在这里看一个例子。

https://maps.googleapis.com/maps/api/place/search/json?location=-33.8670522,151.1957362&radius=500&types=food&name=harbour&sensor=false&key=YOUR_GOOGLE_API_KEY

location 之后,我提供了经纬度值。
然后,我提供了radius500 meters.
我正在搜索Food 类别。 (您可能有任何其他业务类别。 搜索名称为harbour。 提供密钥YOUR_GOOGLE_API_KEY

【讨论】:

    【解决方案2】:

    查看 URL http://code.google.com/apis/maps/documentation/places/,它会为您提供更多详细信息。您将获得 JSON 或 KML 格式,您可以从那里进行解析。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-10-22
      • 1970-01-01
      • 2017-04-05
      • 2012-12-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多