cleanup and fix things

This commit is contained in:
Milan Pässler 2016-02-18 19:42:46 +00:00
commit 6ee0d02b7b
2 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ define(["map/clientlayer", "map/labelslayer",
function addLinksToMap(dict, linkScale, graph, router) {
graph = graph.filter( function (d) {
return "distance" in d && !d.type === "VPN"
return "distance" in d && d.type !== "Kabel" && d.type !== "VPN"
})
var lines = graph.map( function (d) {