Forum: Ruby on Rails Google Maps Map Movement

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dl L. (Guest)
on 2007-08-02 07:38
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.

cammo (Guest)
on 2007-08-02 08:59
(Received via mailing list)
You'll want to use Prototypes PeriodicalExecuter function to
periodically call more data from Ruby and execute a function in your
Check the API for Prototype:

This topic is locked and can not be replied to.