Improved www.ttss.krakow.pl
Jacek Kowalski
2019-01-31 8a0cf827d834a91a2421a7ee94a8f3a27da24738
Use raw position for buses to work around invalid routes definition
1 files modified
2 ■■■ changed files
map.js 2 ●●● patch | view | raw | blame | history
map.js
@@ -232,7 +232,7 @@
    
    buses_xhr = $.get(
        ttss_buses_base + '/geoserviceDispatcher/services/vehicleinfo/vehicles'
            + '?positionType=' + ttss_position_type
            + '?positionType=RAW'
            + '&colorType=ROUTE_BASED'
            + '&lastUpdate=' + encodeURIComponent(buses_last_update)
    ).done(function(data) {