【问题标题】:Google Places API Periods[] Not ShowingGoogle Places API 期间 [] 未显示
【发布时间】:2015-01-09 18:52:35
【问题描述】:

Google Places API 的新手。但我似乎无法显示“开放时间”期间 []。来自谷歌文档:

https://developers.google.com/maps/documentation/javascript/places#place_details

【问题讨论】:

标签: json rest google-places-api


【解决方案1】:

似乎没有为此类呼叫返回 opening_hours。要获取地点详细信息,您需要拥有该地点的 placeId 并致电 place.getDetails()

还有另一个应该有帮助的 SO 答案:https://stackoverflow.com/a/9523345/2141296

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-09-24
    • 1970-01-01
    • 1970-01-01
    • 2015-06-26
    • 2017-08-22
    相关资源
    最近更新 更多