Improved www.ttss.krakow.pl
Jacek Kowalski
2019-03-12 b1d3d61482c0084f2d181d5eb6849b36376f06f2
Ignore stop "Dworzec Główny" still reported by TTSS
2 files modified
4 ■■■ changed files
map.html 2 ●●● patch | view | raw | blame | history
map.js 2 ●●●●● patch | view | raw | blame | history
map.html
@@ -26,6 +26,6 @@
<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?v5" id="lang_script"></script>
<script tyle="text/javascript" src="common.js?v6"></script>
<script tyle="text/javascript" src="map.js?v12"></script>
<script tyle="text/javascript" src="map.js?v13"></script>
</body>
</html>
map.js
@@ -26,6 +26,7 @@
var vehicles_info = {};
var stops_xhr = null;
var stops_ignored = ['131'];
var stops_buses_source = null;
var stops_buses_layer = null;
var stops_trams_source = null;
@@ -359,6 +360,7 @@
        var stop = stops[i];
        
        if(stop.category == 'other') continue;
        if(stops_ignored.indexOf(stop.shortName) >= 0) continue;
        
        stop.geometry = getGeometry(stop);
        var stop_feature = new ol.Feature(stop);