如何设置"类型和QUOT;在谷歌将在PlacePicker Android的?将在、如何设置、类型、Android

2023-09-07 22:21:16 作者:醉卧温柔

在新的谷歌的地方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.