Google Maps Map Movement

Hi everyone,

I need help with RoR and Google Maps. Here is my dilemma. Say
coordinates are being fed into a db. I would like to create a page that
gets those coordinates say every 5 seconds and moves a marker on a
Google Map. I do not want to refresh the page. Maybe AJAX? I’m not
sure. Has anyone ever done this? Any help would be greatly appreciated.

d

You’ll want to use Prototypes PeriodicalExecuter function to
periodically call more data from Ruby and execute a function in your
javascript.
Check the API for Prototype:
http://www.prototypejs.org/api/periodicalExecuter

Cheers,
Cam