You may restrict results from a Place Autocomplete request to be of a certain type by passing a types
parameter. The parameter specifies a type or a type collection, as listed in the supported types below. If nothing is specified, all types are returned. In general only a single type is allowed. The exception is that you can safely mix the geocode
and establishment
types, but note that this will have the same effect as specifying no types. The supported types are:
geocode
instructs the Place Autocomplete service to return only geocoding results, rather than business results. Generally, you use this request to disambiguate results where the location specified may be indeterminate.address
instructs the Place Autocomplete service to return only geocoding results with a precise address. Generally, you use this request when you know the user will be looking for a fully specified address.establishment
instructs the Place Autocomplete service to return only business results.(regions)
type collection instructs the Places service to return any result matching the following types: