kristianmandrup / gmaps-autocomplete-rails

Google Maps v3 search with jQuery UI Autocomplete, ready for use with Rails asset pipeline
MIT License
73 stars 35 forks source link

Allow limiting a search to a country #19

Closed serene closed 8 years ago

serene commented 8 years ago

Added componentRestrictions hash to only search within the specified country

kristianmandrup commented 8 years ago

Looks good :)

kristianmandrup commented 8 years ago

You are very welcome to improve the gem further, such as removing the hard dependency on jquery and jquery UI which are think are pretty dated. Also the JavaScript could use an update to use ES6 or similar, with use of proper classes ;)