From c57bed6e3c5ae889c591c533d1cee93f5a761c9f Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Thu, 31 Jan 2019 03:01:24 +0000 Subject: [PATCH] Add special labels to mark non-passenger bus trips --- common.js | 7 +++++-- map.html | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common.js b/common.js index 59b8a10..069a957 100644 --- a/common.js +++ b/common.js @@ -1,7 +1,10 @@ // Special directions var special_directions = { - 'Zajezdnia Nowa Huta' : 'NH', - 'Zajezdnia Podgórze' : 'P', + 'Zajezdnia Nowa Huta' : 'ZH', + 'Zajezdnia Podgórze' : 'ZP', + 'Zjazd do zajezdni' : 'Z', + 'Wyjazd na linię' : 'W', + 'Przejazd techniczny' : 'PT', }; var script_version; diff --git a/map.html b/map.html index be21565..9ab6a6d 100644 --- a/map.html +++ b/map.html @@ -17,7 +17,7 @@ <script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script> <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v5.3.0/build/ol.js" integrity="sha384-iQkGyyH4ioz3m+maM3s9MX1Oq67mACa4B9Z3ovUv3Sv37LJ96fx3WnZfLoiC3Wfl" crossorigin="anonymous"></script> <script tyle="text/javascript" src="lang_pl.js" id="lang_script"></script> -<script tyle="text/javascript" src="common.js"></script> +<script tyle="text/javascript" src="common.js?v2"></script> <script tyle="text/javascript" src="map.js?v3"></script> </body> </html> -- Gitblit v1.9.1