Android版谷歌API的地方 - PlacePikcer没有搜索选项 [英] Google Places API for Android - PlacePikcer without search option

查看:183
本文介绍了Android版谷歌API的地方 - PlacePikcer没有搜索选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立一个应用程序,其中用户必须选择他想要的地方。

I am building an application, where the user has to select a Place he wants.

对于这一点,我现在用的是PlacePicker对话框,为Android的谷歌API的地方是教学中的API参考网站。

For that, I am using the PlacePicker dialog, as the Google Places API for Android is teaching in the API reference site.

然而,当用户点击的按钮,打开放置选取器对话框,它不具有任何按钮,用户可以输入他希望选择的地点的名称。因此,用户将不得不选择只是拖动地图上占有一席之地;这是可怕的用户,特别是如果他想从他的位置,选择一个特定位置或远或他不知道哪里是在地图上的位置。

However, when the user click the button and open the Place Picker Dialog, it does not have any button where the user can type the name of the place he wants to select. So, the user will have to select a place just dragging on the map; this is horrible for the user, specially if he wants to choose a specific location far from his location or he doesn't know where is the place on the map.

于是,我试着在互联网上搜索在谷歌和foruns,我没有找到有关如何设置对话框出现在搜索按钮什么。

So, I've tried searching on Google and foruns on the internet and I didn't find anything about how to set the dialog to appear the search button.

感谢您! ;)

推荐答案

不幸的是,将选取器不支持您所要求的。

Unfortunately the Place Picker does not support what you are asking for.

这篇关于Android版谷歌API的地方 - PlacePikcer没有搜索选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆