diff --git a/index.htm b/index.htm index 6f919b7..cb0959c 100644 --- a/index.htm +++ b/index.htm @@ -70,6 +70,7 @@ +



diff --git a/js/GUI.Utils.js b/js/GUI.Utils.js index 02c054d..1720719 100644 --- a/js/GUI.Utils.js +++ b/js/GUI.Utils.js @@ -39,6 +39,14 @@ $(document).ready(function() { var stop=$('#route_output :selected').parent().attr('label'); zoomfocus(stop); }); + $('#swapab').click(function() { + var pa = "pointa"; + var pb = "pointb"; + $("#pointa").remove(); + $("#pointb").remove(); + $("#pointa").val(pb); + $("#pointb").val(pa); + }); $('#calctnd').click(function() { removeEntity('arrow');