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.
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 ...)
There is a way to set the types of the PlacePicker?
Reading the API docs doesn't say nothing about.
The autocomplete widget is a search dialog with built-in autocomplete functionality. As a user enters search terms, the widget presents a list of predicted places to choose from. When the user makes a selection, a Place instance is returned, which your app can then use to get details about the selected place.
Place Types are data-driven ways to define and visualize the many aspects of land use-transportation interactions embodied in our land use plans. They are then used as an input to the Regional Strategic Planning Model (RSPM), allowing us to measure the impact of future changes to transportation and land use policies.
The Place Autocomplete service is a web service that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds.
Currently it seems not to be possible. There is an open feature request, however. Please star it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With