map: hide vpn links

This commit is contained in:
Nils Schneider 2015-04-12 23:09:43 +02:00
parent 0e90fa2022
commit 2fcce92bce

View file

@ -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) {