diff --git a/js/GUI.Utils.js b/js/GUI.Utils.js index 9d1fa90..04d5f3e 100644 --- a/js/GUI.Utils.js +++ b/js/GUI.Utils.js @@ -20,6 +20,7 @@ $(document).ready(function() { removeEntity('arrow'); lastInputBox = null; + $('#route_output').html("No route calculated"); var speed = {'speed': $('#speed').val(), 'unit':$ ('#speedunit option:selected').val() }; populateRoutePlan( $('#pointa option:selected').text() , $('#pointb option:selected').text(),speed ); @@ -151,12 +152,11 @@ function populateRoutePlan(pointa,pointb,speed) { routeplan += ''; if(typeof self[index+1] != 'undefined' ) { if(waypoint.gate && self[index+1].gate) {routeplan += ''; } - console.log(waypoint.gate) } if(waypoint.gate && lastWaypoint.gate) {routeplan += ''; } if(!waypoint.gate || (!lastWaypoint.gate && waypoint.gate)) { - routeplan += '' + routeplan += '' routeplan += ''; drawline(grabPositionByName(lastWaypoint.name),grabPositionByName(waypoint.name)); } diff --git a/webviewgl.htm b/webviewgl.htm index e2123fa..7fdfea3 100644 --- a/webviewgl.htm +++ b/webviewgl.htm @@ -8,7 +8,7 @@ - +