Support two colors of points rendered on the map.

This commit is contained in:
George Kaklamanos 2016-02-20 22:02:18 +02:00
parent e3eb7b30f0
commit 2bb92abf4b
6 changed files with 56 additions and 26 deletions

View file

@ -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>';