map: don't hide cable links
This commit is contained in:
parent
6ee0d02b7b
commit
f321867482
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user