如何设置"类型和QUOT;在谷歌将在PlacePicker Android的? [英] How to set "Types" in Google Place PlacePicker in Android?

查看:152
本文介绍了如何设置"类型和QUOT;在谷歌将在PlacePicker Android的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在新的谷歌的地方API,他们来到了一个名为PlacePicker新功能。这是一个简单的活动,选择一个地方他们有地方名单/图

In the new google places API, they come with a new feature called PlacePicker. It's a simple activity to select a place of the list/map of places they have.

在地方API,我们可以给出一个类型列表,接收这些特定类型的唯一的地方。

In the Places API we can give a types list, to receive only places of those specific types.

我要建一个仅使用建立地方的应用程序。

I'm building an app that uses only "establishment" places.

但这种活动显示了所有地方,包括很多地方,我不需要(图书馆,学校,加油站......)

But this activity shows all the places, including a lot of places that i do not need (libraries, schools, gas ...)

有一种方法来设置类型PlacePicker的?

阅读API文档没有任何关于说。

Reading the API docs doesn't say nothing about.

推荐答案

目前似乎没有可能。有一个开放功能请求然而。请明星吧。

Currently it seems not to be possible. There is an open feature request, however. Please star it.

这篇关于如何设置"类型和QUOT;在谷歌将在PlacePicker Android的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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