'Show only particular fun spots from Google Places API
I am using this Google Places API on my react native project - https://github.com/FaridSafi/react-native-google-places-autocomplete
My code:
import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete'
<GooglePlacesAutocomplete placeholder='Search'
query={{key:'',components: 'country:us'}}
onPress={(data, details) => {
//console.log(data.description)
}}
/>
Anyone have an idea how to limit the results to just 'restaurants in new york'?
Thanks
Solution 1:[1]
The closest you can get for autocomplete is establishment. See types in table 3.
Please +1/star this issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | jpoehnelt |
