【发布时间】:2016-12-18 02:45:37
【问题描述】:
参考:
https://developers.google.com/places/web-service/autocomplete https://developers.google.com/places/supported_types#table1 https://developers.google.com/places/supported_types#table3
我检查了 Place API 中可用的“自动完成”功能的实现,发现请求中只允许使用某些“类型”值,例如地理编码、地址、机构、(地区)、(城市)。
我想在“自动完成”功能中使用学校、大学,但只能在“地点搜索”功能中使用。
我不想指向任何特定位置然后搜索附近的地方,而是将所有学校和大学作为自动填充结果。
这是否可以使用 Google API 或我需要使用任何其他替代方案?
感谢任何帮助。
【问题讨论】:
标签: php autocomplete google-api google-places-api