获取所有游乐场的列表
Get a list of all playgrounds
我想获取附近所有游乐场的列表。在 Google 地图上创建新地点时,我可以将 select "playground" 作为类别,不幸的是,这似乎在 API (https://developers.google.com/places/supported_types#table1)
我是不是漏掉了什么?
问候
拉斐尔
你说得对,目前 Google 个地方 API 中没有对应的类型。但您始终可以回退到使用查询字符串。
所以试试 keyword=playground
(对于 Nearby Search) or query=playground
(for Text Search)。
我想获取附近所有游乐场的列表。在 Google 地图上创建新地点时,我可以将 select "playground" 作为类别,不幸的是,这似乎在 API (https://developers.google.com/places/supported_types#table1)
我是不是漏掉了什么?
问候 拉斐尔
你说得对,目前 Google 个地方 API 中没有对应的类型。但您始终可以回退到使用查询字符串。
所以试试 keyword=playground
(对于 Nearby Search) or query=playground
(for Text Search)。