diff --git a/ShowStop.php b/ShowStop.php index 30cf009..7072030 100644 --- a/ShowStop.php +++ b/ShowStop.php @@ -3,6 +3,7 @@ uBus - ShowStop + @@ -20,6 +21,8 @@ include 'libdata.php'; if (isValidStop($_GET["stop"])){ PrintRoutes($_GET["stop"]); + $stop=getStopInfo($_GET["stop"]); + ShowMap($stop['lat'],$stop['lon']); } else { echo 'No such stop. Go back?'; } @@ -47,10 +50,6 @@ function PrintRoutes($stp){ - - - -