我在 Google Places API 中遇到数据丢失问题!如下例所示,Google Place 附加信息(例如手机号码、备用电话、传真电话)显示在 Google Map 搜索结果中,但不是通过 Google Places API 显示的!
在此链接之后,您会注意到添加的备用电话号码 mobile:
www.google.com/maps/place?cid=4256683212236351718&q=hamza+kamaleddine+home&hl=en&ved=0CBQQ-gswAA&sa=X&ei=cO4wT4arE8Wp8QOZqITuDA
但是使用 Google Places API(使用下面的 HTTP 请求),我正在检索以下 Json 对象:
地点详细信息响应 (JSON):
{
"html_attributions" : [],
"result" : {
"address_components" : [
{
"long_name" : "Aley",
"short_name" : "Aley",
"types" : [ "locality", "political" ]
},
{
"long_name" : "LB",
"short_name" : "LB",
"types" : [ "country", "political" ]
},
{
"long_name" : "1000",
"short_name" : "1000",
"types" : [ "postal_code" ]
}
],
"formatted_address" : "Ain Al Jdide Road, طريق عين الجديدة, Aley, Lebanon",
"formatted_phone_number" : "70 975 590",
"geometry" : {
"location" : {
"lat" : 33.8113420,
"lng" : 35.619370
}
},
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
"id" : "a1063b63d187a576cf420e459aca9141e46bb8b6",
"international_phone_number" : "+961 70 975 590",
"name" : "Hamza Kamaleddine - Home",
"reference" : "...",
"types" : [ "establishment" ],
"url" : "http://maps.google.com/maps/place?cid=4256683212236351718",
"vicinity" : "Ain Al Jdide Road, طريق عين الجديدة, Aley",
"website" : "http://lb.linkedin.com/in/hkamaleddine"
},
"status" : "OK"
}
如您所见,缺少手机号码、备用号码和传真号码!
请问如何解决这个问题?
非常感谢!