为什么Google地方服务“附近的搜索”未返回完整的地方详细信息

时间:2018-10-29 07:32:03

标签: api

作为以下文件

https://developers.google.com/maps/billing/understanding-cost-of-use

  

“附近搜索”请求返回具有完整地点详细信息的地点列表(“附近”>“搜索”请求不支持指定返回的字段)。 >“邻近搜索”请求的价格为每个0.032 USD,以及所有数据类型的SKU(基本数据,联系数据和大气数据)。

但这是我的结果

"results" : [
{
 "geometry" : {
    "location" : {
       "lat" : 14.0111444,
       "lng" : 99.53231280000001
    },
    "viewport" : {
       "northeast" : {
          "lat" : 14.0124933802915,
          "lng" : 99.53366178029151
       },
       "southwest" : {
          "lat" : 14.0097954197085,
          "lng" : 99.5309638197085
       }
    }
 },
 "icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
 "id" : "3ad21129625b06b865445c0eeedcea966829770f",
 "name" : "ร้านอาหารครัวต้นแม่กลอง",
 "opening_hours" : {
    "open_now" : true
 },
 "photos" : [
    {
       "height" : 3264,
       "html_attributions" : [
          "\u003ca href=\"https://maps.google.com/maps/contrib/111267625699294662042/photos\"\u003eathichart mongkolratnan\u003c/a\u003e"
       ],
       "photo_reference" : "CmRaAAAAueydHhIYYHBIQoqC8La4xcRwSbXHGYlaXIj13aYO8aachY5t6RSTNPYxZwPtQeLpB17NOx9p088bFzzsYg2A7t_SLr4LZXYKusqvdPAVoWN1R-Svwr0bQPwwrqZKSfcnEhBeJ5A1f53QzDTQCXWWFGy2GhSTy0WipZvFoURG2dabMB_QplQ0YQ",
       "width" : 2448
    }
 ],
 "place_id" : "ChIJnd9g3KV04zAR0fdSOO8ZYLg",
 "plus_code" : {
    "compound_code" : "2G6J+FW กาญจนบุรี ไทย",
    "global_code" : "7M6X2G6J+FW"
 },
 "rating" : 4,
 "reference" : "ChIJnd9g3KV04zAR0fdSOO8ZYLg",
 "scope" : "GOOGLE",
 "types" : [ "restaurant", "point_of_interest", "food", "establishment" ],
 "vicinity" : "ตำบล บ้านใต้ อำเภอเมืองกาญจนบุรี"
}
]

如何获取具有完整场所详细信息作为文档的场所列表?

0 个答案:

没有答案