Show approaching buses on the map.
This commit is contained in:
parent
2f96304eed
commit
1ccd9bcbdc
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if (isValidStop($_GET["stop"])){
|
|||
echo '<div id="routes" class="tab-pane fade in active" role="tabpanel">';
|
||||
PrintRoutes($_GET["stop"]);
|
||||
echo '</div><div id="map" class="tab-pane fade" role="tabpanel">';
|
||||
ShowMap(array(array($stop['lat'],$stop['lon'])),[]);
|
||||
ShowMap(getPositionOfApproachingStop($stop['id'],'go'),getPositionOfApproachingStop($stop['id'],'come'),array(array($stop['lat'],$stop['lon'])));
|
||||
echo '</div></div>';
|
||||
} else {
|
||||
echo '<span style="display:inline-block" class="alert alert-danger" role="alert">No such stop. <a href="javascript:history.back()">Go back?</a></span>';
|
||||
|
|
Reference in a new issue