Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mesh
meshmap
Commits
e571d016
Commit
e571d016
authored
Jun 18, 2020
by
Eric - kg6wxc
Browse files
Merge branch 'link_opacity_update' into 'master'
Link opacity update See merge request
!14
parents
7b6e8eee
47f31a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/map_functions.inc
View file @
e571d016
...
...
@@ -257,12 +257,17 @@ function load_LinkList($NodeList, $TopoList)
}
//this is for the "other" DTD links
//using other wireless tech to create links that are seen as "DTD" by the AREDN software
//
// this is also some (all) tunnels now after 3.20.3 changes
// TODO: check this!
if
(
$value
[
'cost'
]
==
0.1
&&
$value
[
'distance'
]
>
0.7
)
{
$display_color
=
$MESH_SETTINGS
[
'DTD_Link_Plus'
];
$dtd
=
1
;
$display_opacity
=
0.3
;
$display_weight
=
0.3
;
//$display_opacity = 0.3;
$display_opacity
=
1.0
;
//$display_weight = 0.3;
$display_weight
=
1.0
;
$map_LayerAssigned
=
'dtdLinks'
;
}
//find the "infinite cost" links (they show as "INFINITE" in the olsr files the other script changes that to 99.99)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment