react-native-google-places icon indicating copy to clipboard operation
react-native-google-places copied to clipboard

How to show map with openAutocompleteModal

Open kirtishjain9 opened this issue 5 years ago • 5 comments

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.

kirtishjain9 avatar Sep 08 '19 19:09 kirtishjain9

I'm also having the same interest. How to show the map as @kirtishjain9. Please share

harry503 avatar Sep 18 '19 02:09 harry503

any one have any idea about please let us know ?

awahab94 avatar Oct 08 '19 01:10 awahab94

any updates on how to do so?

KhalidHisham7 avatar Oct 30 '19 11:10 KhalidHisham7

im also needing help with this. Anyone can assist??

stinghurt avatar Nov 07 '19 20:11 stinghurt

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.

ngregrichardson avatar Dec 12 '19 20:12 ngregrichardson