minor fix while setting node_radius by default

Former-commit-id: 37b603adc1eb025c84b4e6d298815894be8adcf6
This commit is contained in:
fbsanchez 2019-04-22 09:33:51 +02:00
parent cbdd8e7104
commit 8978b49a8b
1 changed files with 4 additions and 0 deletions

View File

@ -2733,6 +2733,10 @@ class NetworkMap
$output .= "var z_dash = null;\n";
}
if (empty($networkmap['filter']['node_radius']) === true) {
$networkmap['filter']['node_radius'] = $this->mapOptions['map_filter']['node_radius'];
}
$output .= 'var networkmap_refresh_time = 1000 * '.$networkmap['source_period'].";\n";
$output .= 'var networkmap_center = [ '.$networkmap['center_x'].', '.$networkmap['center_y']."];\n";
$output .= 'var networkmap_dimensions = [ '.$networkmap['width'].', '.$networkmap['height']."];\n";