Giners / mui-places-autocomplete

Google Material Design (Material-UI) styled React component using Google Maps Places Autocomplete
MIT License
34 stars 26 forks source link

Feature: Allow for greater control over suggestions returned by Google #26

Closed Giners closed 6 years ago

Giners commented 6 years ago

Currently the suggestions provided by the Google Places API Web Service have a wide breadth in the types of suggestions (i.e. an establishment, city/locality, specific address, etc.) returned when the user first starts searching for a place. The set of returned suggestions may also not be geospatially tight ("close to each other"). As the users search becomes more specific the types of suggestions returned start to narrow as well as tighten geospatially around each other. This is due to the fact that the request made to the Google Places API Web Service is unassuming and simply provides the users search input. This doesn't provide flexibility for meeting the use cases of those that consume <MUIPlacesAutocomplete>.

Consumers of <MUIPlacesAutocomplete> may have specific use cases in mind for their customers where they may want to:

This is a feature request to allow for more control over the suggestions returned by the Google Places API Web Service.