zhangtaii / react-native-google-place-picker

React Native Wrapper of Google Place Picker for iOS + Android.
MIT License
185 stars 54 forks source link

Initial location #4

Closed jamesholcomb closed 7 years ago

jamesholcomb commented 7 years ago

How do you specify the initial location? In the simulator, the map always starts in the North Sea.

zhangtaii commented 7 years ago

You can not pass in a config for the viewport currently, which is not implemented yet. The default map view is based on the device location. Workaround: In iOS Simulator menu, go to Debug -> Location -> Custom Location.

AndrewHenderson commented 7 years ago

It would be great if you could provide an initial location. When editing an existing record with a location, I'd like to start the map at the already assigned location.