map: don't hide cable links

This commit is contained in:
Milan Pässler 2016-02-18 20:47:02 +00:00
parent 6ee0d02b7b
commit f321867482

View file

@ -129,11 +129,11 @@ define(["map/clientlayer", "map/labelslayer",
function addLinksToMap(dict, linkScale, graph, router) {
graph = graph.filter( function (d) {
return "distance" in d && d.type !== "Kabel" && d.type !== "VPN"
return "distance" in d && d.type !== "VPN"
})
var lines = graph.map( function (d) {
var opts = { color: linkScale(d.tq).hex(),
var opts = { color: d.type === "Kabel" ? "#50B0F0" : linkScale(d.tq).hex(),
weight: 4,
opacity: 0.5,
dashArray: "none"