Commit e571d016 authored by Eric - kg6wxc's avatar Eric - kg6wxc

Merge branch 'link_opacity_update' into 'master'

Link opacity update

See merge request !14
parents 7b6e8eee 47f31a95
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment