| | |
| | | var vehicles_info = {}; |
| | | |
| | | var stops_xhr = null; |
| | | var stops_ignored = ['131', '744', '1263']; |
| | | var stops_ignored = ['131', '744', '1263', '3039']; |
| | | var stops_style = { |
| | | 'sb': new ol.style.Style({ |
| | | image: new ol.style.Circle({ |
| | |
| | | if(typeof typeName === 'undefined') { |
| | | typeName = ''; |
| | | } |
| | | if(feature.get('vehicle_type')) { |
| | | typeName += ' ' + feature.get('vehicle_type').num; |
| | | } |
| | | |
| | | addElementWithText(a, 'span', typeName).className = 'small'; |
| | | a.appendChild(document.createTextNode(' ')); |
| | |
| | | }); |
| | | vehicles_layer[type] = new ol.layer.Vector({ |
| | | source: vehicles_source[type], |
| | | renderMode: 'image', |
| | | }); |
| | | vehicles_last_update[type] = 0; |
| | | }); |