map: fix drawing of clients

This commit is contained in:
Nils Schneider 2015-04-19 13:05:23 +02:00
parent 071cd3fe69
commit b3c49d01a0

View file

@ -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++) {