krasimir / react-place

React geo location component based on Google Maps
http://krasimir.github.io/react-place
MIT License
117 stars 18 forks source link

Multiple Countries ? #7

Open VianneyAin opened 8 years ago

VianneyAin commented 8 years ago

Hi Krasimir,

Thanks a lot for your component.

But I need to ask your how could I get a worldwide search input. I mean, instead of picking a country first, you get immediatly every city of the world while you're searching.

Let me know if it is possible ! Would be awesome !

Cheers

krasimir commented 8 years ago

Well, I guess if we skip the componentRestrictions property here https://github.com/krasimir/react-place/blob/master/src/Location.jsx#L126 you'll query for all cities in the world not in a specific country.