From 8954adf07585401eb2eca74a5e4c061dd6cbb7b5 Mon Sep 17 00:00:00 2001 From: cubedro Date: Wed, 18 Feb 2015 04:26:30 +0200 Subject: [PATCH] fixed map marker color --- public/js/controllers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/controllers.js b/public/js/controllers.js index c920924..cd4a32b 100644 --- a/public/js/controllers.js +++ b/public/js/controllers.js @@ -122,7 +122,7 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { radius: 3, latitude: node.geo.ll[0], longitude: node.geo.ll[1], - fillKey: $filter('bubbleClass')(node, $scope.bestBlock) + fillKey: $filter('bubbleClass')(node.stats, $scope.bestBlock) }; else return { @@ -131,6 +131,8 @@ function StatsCtrl($scope, $filter, socket, _, toastr) { longitude: 0 }; }); + + console.log($scope.map); } $scope.$apply();