From 0f95e73b8ff10f3902439efc10886ea4f67df21f Mon Sep 17 00:00:00 2001
From: Gregor Aisch <contact@vis4.net>
Date: Tue, 15 Jan 2013 09:16:29 +0100
Subject: [PATCH] 'auto commit'

---
 js/realtime-map.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/js/realtime-map.js b/js/realtime-map.js
index 0bd585cf63..defffe3cf0 100644
--- a/js/realtime-map.js
+++ b/js/realtime-map.js
@@ -13,7 +13,8 @@ RealTimeMap.run = function(config) {
         worldTotalVisits = 0,
         maxVisits = 100,
         width = main.width(),
-        scale = width * (width*0.7) / 180000,
+        minRad = 3,
+        maxRad = 10,
         lastTimestamp = -1,
         lastVisits = [],
         visitSymbols,
@@ -160,7 +161,7 @@ RealTimeMap.run = function(config) {
      * the radius of the symbol depends on the lastActionTimestamp
      */
     function visitRadius(r) {
-        return 3 * scale * Math.pow(age(r),4) + 2.5 * scale;
+        return Math.pow(age(r),4) * (maxRad - minRad) + minRad;
     }
 
     /*
-- 
GitLab