Support two colors of points rendered on the map.
This commit is contained in:
parent
e3eb7b30f0
commit
2bb92abf4b
6 changed files with 56 additions and 26 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(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