map: hide vpn links
This commit is contained in:
parent
0e90fa2022
commit
2fcce92bce
@ -61,7 +61,7 @@ define(["d3", "leaflet", "moment", "locationmarker", "leaflet.label"],
|
|||||||
|
|
||||||
function addLinksToMap(dict, linkScale, graph, router) {
|
function addLinksToMap(dict, linkScale, graph, router) {
|
||||||
graph = graph.filter( function (d) {
|
graph = graph.filter( function (d) {
|
||||||
return "distance" in d
|
return "distance" in d && !d.vpn
|
||||||
})
|
})
|
||||||
|
|
||||||
var lines = graph.map( function (d) {
|
var lines = graph.map( function (d) {
|
||||||
|
Loading…
Reference in New Issue
Block a user