Google 个地点 API 个时期 [] 未显示
Google Places API Periods[] Not Showing
Google 个新位置 API。但我似乎无法显示 "Opening Hour" Periods[]。来自 Google 文档:
https://developers.google.com/maps/documentation/javascript/places#place_details
似乎没有为此类调用返回 opening_hours。要获取地点详情,您需要获得地点的 placeId
并致电 place.getDetails()
.
还有另一个应该有用的 SO 答案:
Google 个新位置 API。但我似乎无法显示 "Opening Hour" Periods[]。来自 Google 文档:
https://developers.google.com/maps/documentation/javascript/places#place_details
似乎没有为此类调用返回 opening_hours。要获取地点详情,您需要获得地点的 placeId
并致电 place.getDetails()
.
还有另一个应该有用的 SO 答案: