react-native-google-places
react-native-google-places copied to clipboard
How to show map with openAutocompleteModal
Hi there,
I want to use this exciting library to show Map as my address picker with 'Search' text input using openAutocompleteModal()
. How could I achieve this as mentioned. I've tried the provided example but it's not opening modal view and logs me Permission denied.
Please suggest with some working example.
So, basically I want following kind of functionality:
(https://github.com/tolu360/react-native-google-places/blob/master/shots/picker-android.png)
where user can search for any address or move drop pin on map to get the selected place in search textInput and on dismiss this address picker I can use that searched address in my parent view.
Please give me your valuable suggestions with some example.
Thanks in advance.
I'm also having the same interest. How to show the map as @kirtishjain9. Please share
any one have any idea about please let us know ?
any updates on how to do so?
im also needing help with this. Anyone can assist??
I'm currently using https://github.com/react-native-community/react-native-maps for the map part. I'm adding my own search bar on top of that which uses getAutocompletePredictions()
when onChangeText
fires.