From c0be74280239161dde6c9343d767de09b49bff84 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 20 Mar 2015 20:48:52 +0100 Subject: [PATCH] history: tweaks --- history.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/history.js b/history.js index 3607ec4..4bb3ac9 100644 --- a/history.js +++ b/history.js @@ -191,7 +191,9 @@ function mkmap(map, newnodes, lostnodes, onlinenodes, graph) { var icon = L.AwesomeMarkers.icon({ markerColor: d.flags.online ? "green" : "red", icon: d.flags.online ? "lightbulb" : "bug" }) - var opt = { icon: icon } + var opt = { icon: icon, + title: d.nodeinfo.hostname + } var m = L.marker([d.nodeinfo.location.latitude, d.nodeinfo.location.longitude], opt) @@ -226,7 +228,7 @@ function addLinksToMap(map, graph) { var lines = graph.map( function (d) { var opts = { color: scale(d.tq).hex(), - weight: 3 + weight: 4 } var line = L.polyline(d.latlngs, opts)