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: Prototype API Documentation | PeriodicalExecuter (Deprecated URL)

Cheers, Cam