From f32186748264d14e962817f25ee41d87dd17cafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Thu, 18 Feb 2016 20:47:02 +0000 Subject: [PATCH] map: don't hide cable links --- lib/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/map.js b/lib/map.js index e8e9743..f3e18d2 100644 --- a/lib/map.js +++ b/lib/map.js @@ -129,11 +129,11 @@ define(["map/clientlayer", "map/labelslayer", function addLinksToMap(dict, linkScale, graph, router) { graph = graph.filter( function (d) { - return "distance" in d && d.type !== "Kabel" && d.type !== "VPN" + return "distance" in d && d.type !== "VPN" }) var lines = graph.map( function (d) { - var opts = { color: linkScale(d.tq).hex(), + var opts = { color: d.type === "Kabel" ? "#50B0F0" : linkScale(d.tq).hex(), weight: 4, opacity: 0.5, dashArray: "none"