Hey guys! Does anyone knows how to a ruby program communicate with the Google API, which one is written in Javascript ? I''ve heard something about a wrapper to do the communication, but i didn''t find anything yet. I know a plugin for rails can do that (geokit), but i don''t know how. There is a method (geocode) that use the javascript function to return the XML data about a address. So, please help me! Thanks in advance!, Ernesto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Google API? You mean Google Maps API right? I''m not sure about ruby but for rails there is a very good plugin http://github.com/andre/geokit-rails/tree/master that has good documentation on the page... I used this for a store locator and it''s a very good tool... I guess you could look at the plugin code and transfer that to a plain ruby script if you wanted too... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
yeah, sorry, I mean google maps API. I''ll take a look at the code. It''s something like that, i want to know how to write my own code over the Gmaps API. On Fri, Jan 9, 2009 at 7:48 PM, Freddy Andersen <freddy-RCI/mp9mI1I6GGFevw1D/A@public.gmane.org>wrote:> > Google API? You mean Google Maps API right? I''m not sure about ruby > but for rails there is a very good plugin > http://github.com/andre/geokit-rails/tree/master > that has good documentation on the page... I used this for a store > locator and it''s a very good tool... > > I guess you could look at the plugin code and transfer that to a plain > ruby script if you wanted too... > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---