You can use geokit (http://github.com/andre/geokit-gem) + ( http://github.com/andre/geokit-rails) to geocode the story location and then use the YM4R-GM plugin to display the geocoded locations on a google map ( http://github.com/queso/ym4r-gm) .
This article might be a bit dated, but it goes how you can interact with the YM4R-GM plugin: http://www.developer.com/open/article.php/3757576/Adding-Google-Maps-To-Your-Rails-Applications.htm On Thu, Jul 22, 2010 at 7:39 AM, Pale Horse <li...@ruby-forum.com> wrote: > My Rails application (Rails: V 2.1.0, Ruby: V 1.8.6) has on it, the > ability for users to submit stories with their address information, > which *will* be atomised into appropriate fields. > > A front end form allows users to submit stories, these stories are saved > into a database table. They are then approved by my client and are > displayed on a map. > > Currently, this map is static and has to be changed by my client and > re-embedded every time a story, with a postcode, is submitted. So, the > map displays markers in the position of the postcode that is submitted > with the story. > > My question is: what would you recommend as the most effective way to > automate this process to omit the need for my client to re-embed this > code? > > If my request is not clear, please post whatever else you may need. > -- > Posted via http://www.ruby-forum.com/. > > -- > 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-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.