Closed patrickberkeley closed 12 years ago
I've not planned to do any of your suggested features.
I let the ticket open: it could inspire a potential contributor to the gem.
How to implement google map search by using postcode or city? Is it possible to implement in rails application? I am bit new to it so please excuse me.
Thanks
Gaurav
please ask your question on stackoverflow and i'll give you more details... for now:
address = Gmaps4rails.geocode(params[:user_address]) @search_lat = address.first[:lat].to_f @search_long = address.first[:lng].to_f @search_address = address.first[:matched_address]
Many thanks for the reply! I will post on stack overflow and post you the link. Thank you for responding.
Gaurav
No problem, have a look to the documentation on the wiki, response was juste here !!
https://github.com/apneadiving/Google-Maps-for-Rails/wiki/Methods
Support for google places is coming thanks to @dabooze .
See this thread: https://github.com/apneadiving/Google-Maps-for-Rails/pull/123#issuecomment-3326743
This gem looks great. Are you planning to add Google Places search, autocomplete, etc?