google 地点 api 弃用后如何使用地点选择器

How to use a place picker after google places api got deprecated

早些时候,当我使用 google 个地方 API 时,我可以使用图钉将鼠标悬停在地图上并将其放在某个点上,这样可以帮助我检索位置。这很简单。 比如客户如何 select 他的送餐地点或出租车接送点。

但是在最近对 API 进行更改之后,我无法找到在实施地点 API.

时出现的地图片段

https://developers.google.com/places/android-sdk/intro

我知道自定义和兼容性库。仍然无法弄清楚如何在 API.

位置包含地图片段

我是不是遗漏了什么,或者以后会怎样。

如果您已迁移到新的 SDK,您将无法使用 Place Picker,因为如果您现在使用的是 Places API 而不是 Places SDK,则只能使用旧的 SDK对于 Android,您将无法再像现在 deprecated as of January 29, 2019. Since you are expressing the interest for Place Picker after it has been deprecated, kindly fill up the form in this issue 那样使用地点选取器。谢谢。