有没有办法根据 Android 开发中的特定位置获取地点列表?

Is there a way to get a list of places based on a specific location in Android Development?

为此,我一直在查看 Google 中的地点 API,但我不知道这是否是正确的方向。该项目围绕查找基于特定位置的地点列表而不是当前位置(例如,您朋友家附近有哪些餐馆(基于经度和纬度))。我在 Places API 中看到的大部分内容都涉及使用用户的当前位置。有没有办法在预定位置通过?或者我可以愚弄它以为 location 是我当前的位置吗?

我认为 still places 对你来说是最好的选择,你必须真正理解 api 才能从中得到你需要的东西。看看如何向具有给定位置 (long, ltd) 的地点 api 发送请求,它会 return 附近的地点。

https://developers.google.com/maps/documentation/places/web-service/search-find-place#locationbias