Google Maps Map Movement

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