diff --git a/lib/map/clientlayer.js b/lib/map/clientlayer.js index a22d30e..7dd5b57 100644 --- a/lib/map/clientlayer.js +++ b/lib/map/clientlayer.js @@ -30,9 +30,9 @@ define(["leaflet"], var ctx = canvas.getContext("2d") - var distance = 12 var radius = 3 var a = 1.2 + var startDistance = 12 var startAngle = Math.PI ctx.beginPath() @@ -46,6 +46,7 @@ define(["leaflet"], p.x -= s.x p.y -= s.y + var distance = startDistance var angle = startAngle for (var i = 0; i < clients; i++) {