Hacker News new | ask | show | jobs
by Groxx 5284 days ago
Not really 'real time' in my book: https://github.com/toshl/toshl-live/blob/master/index.php#L1...

They run an ajax request every 3 seconds, and drop pins sequentially every 1.5 seconds. It's a queue on top of Google Maps - there are tons of these.

The most-useful parts might be the constants in the PHP portions, but I have a feeling they're unnecessary, given that they seem to be in the MaxMind database they're using.