android - Google 地方信息 Android
问题描述
我正在尝试获取特定类型的地点列表,例如餐厅,靠近某个 latlng。我查看了适用于 android 的 Google Places SDK,但找不到任何适用于此用例的内容。它具有自动完成和当前地点搜索功能,但没有用于搜索特定类型地点的参考位置。Places Web API 具有此功能,但我想知道是否可以使用 Android SDK for Places 实现相同功能。像下面的东西。这是 Places API 中的一个示例
https://maps.googleapis.com/maps/api/place/findplacefromtext/output?parameters
解决方案
尝试使用 google places Api
https://developers.google.com/places/web-service/search
尝试使用Your_API_KEY进行适当修改来实现以下 api
更改参数:半径、类型、位置
推荐阅读
- asp.net - ASP.NET/SQL 函数不在循环中存储所有值
- php - 获取存储库时在 null 上调用成员函数 findOneByName()
- mysql - 如何优化mysql连接查询,不使用连接
- azure - 如何使用 azure cli 获取所有 vm 状态?
- jestjs - 如何配置模拟商店
- python - Python argparse 版本:不尊重换行符
- android - 动态可扩展列表视图问题
- oop - 从基类调用构造函数 - 以上 2 级
- python-3.x - 使用 python 在 github 上推送压缩文件
- iis - IIS url 为多个域重写为 https,但不是全部