From 2fcce92bce5398f85c5a803e91065a8eb5ea9214 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 12 Apr 2015 23:09:43 +0200 Subject: [PATCH] map: hide vpn links --- lib/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/map.js b/lib/map.js index cfbdbba..791c2d4 100644 --- a/lib/map.js +++ b/lib/map.js @@ -61,7 +61,7 @@ define(["d3", "leaflet", "moment", "locationmarker", "leaflet.label"], function addLinksToMap(dict, linkScale, graph, router) { graph = graph.filter( function (d) { - return "distance" in d + return "distance" in d && !d.vpn }) var lines = graph.map( function (d) {