redo link type handling

This commit is contained in:
Milan Pässler 2016-02-18 19:26:05 +00:00
commit f77aabd37d
8 changed files with 67 additions and 33 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.vpn
return "distance" in d && !d.type === "VPN"
})
var lines = graph.map( function (d) {