简体   繁体   English

如何在Google地图上设置可预测的搜索?

[英]How to set predictible search on Google Maps?

I want when a user is typing on the search field the seeker suggest the places, more expecific the bars. 我想当用户在搜索字段上输入时,搜索者建议这些地点,更具体的条形。

All the tutorials are made with Places API and is deprecated. 所有教程都是使用Places API制作的,不推荐使用。 Is there any other solution, tutorial...? 还有其他解决方案,教程...吗?

The old Places SDK for Android is deprecated, but there is a new Places SDK you can migrate to that offers the Place Autocomplete service you seem to be looking for. 不建议使用旧的Android版Places SDK,但可以迁移到新的Places SDK, 提供您似乎正在寻找的Place Autocomplete服务。

Hope this helps you. 希望这对您有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM