React-native-google-places-autocomplete: want to filter by multiple countries

Created on 5 Dec 2019  路  1Comment  路  Source: FaridSafi/react-native-google-places-autocomplete

i like to search in two countries , canada, usa

question

Most helpful comment

In the props of your component this should do the trick.

query={{
          key: 'keykeykeykeykeykeykeykeykey',
          types: types,
          components: 'country:ca|country:us',
        }}

If it does please close your issue ;)

>All comments

In the props of your component this should do the trick.

query={{
          key: 'keykeykeykeykeykeykeykeykey',
          types: types,
          components: 'country:ca|country:us',
        }}

If it does please close your issue ;)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sohel-tech picture sohel-tech  路  3Comments

tgreco picture tgreco  路  3Comments

mbelgrader picture mbelgrader  路  4Comments

macs03 picture macs03  路  3Comments

DennisMuchiri picture DennisMuchiri  路  4Comments