Browse Source

map: hide vpn links

Nils Schneider 9 years ago
parent
commit
2fcce92bce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/map.js

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