Fixed the initial zoom and center of the networkmaps

This commit is contained in:
Alejandro Gallardo Escobar 2018-12-03 16:12:36 +01:00
parent 4fa3f967f6
commit a4f2a65e3a
1 changed files with 1 additions and 1 deletions

View File

@ -2721,7 +2721,7 @@ function init_graph(parameter_object) {
}
window.scale_minimap = 4.2;
window.translation = [0, 0];
window.scale = (typeof (z_dash) != "undefined") ? z_dash : 0.5;
window.scale = z_dash || 0.5;
window.node_radius = 40;
if (typeof (parameter_object.node_radius) != "undefined") {
window.node_radius = parameter_object.node_radius;