如何在googlemap中使用自动填充搜索位置

时间:2016-12-06 12:05:20

标签: android google-maps-android-api-2

我需要将自动填充搜索框添加到googlemap的顶部,这样我就可以编写地点并为我完成它然后将相机移动到这个地方.. 我该怎么做? enter image description here

1 个答案:

答案 0 :(得分:0)

TL; DR https://developers.google.com/places/android-api/

您需要将Google地方添加到您的项目中,并使用其中提到的“地方自动填充功能”:

https://developers.google.com/places/android-api/autocomplete

祝你好运。

相关问题