1
Google地图API的新功能。但我似乎无法获得“开放时间”期间[]以显示。从谷歌文档:Google Places API期间[]不显示
https://developers.google.com/maps/documentation/javascript/places#place_details
Google地图API的新功能。但我似乎无法获得“开放时间”期间[]以显示。从谷歌文档:Google Places API期间[]不显示
https://developers.google.com/maps/documentation/javascript/places#place_details
看来,OPENING_HOURS没有为这种类型的调用返回。要获取地点详细信息,您需要拥有该地点的placeId
并致电place.getDetails()
。
还有另外一个SO回答,应该是有帮助的:https://stackoverflow.com/a/9523345/2141296
的
可能重复[谷歌Places API的 - 地点详细请求未定义](http://stackoverflow.com/questions/9520808/google-places-api-places -detail请求-未定义) – hberg 2015-01-10 08:23:17