Add buses data to the map
| | |
| | | <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="map.js"></script> |
| | | <script tyle="text/javascript" src="map.js?v2"></script> |
| | | </body> |
| | | </html> |
| | |
| | | } |
| | | } |
| | | |
| | | var fill = (selected ? '#a00' : '#3399ff'); |
| | | var fill = '#F60'; |
| | | if(vehicle.getId().startsWith('b')) { |
| | | fill = '#05B'; |
| | | } |
| | | if(selected) { |
| | | fill = '#292'; |
| | | } |
| | | |
| | | var image = '<svg xmlns="http://www.w3.org/2000/svg" height="30" width="20"><polygon points="10,0 20,23 0,23" style="fill:'+fill+';stroke:'+color_type+';stroke-width:2" /></svg>'; |
| | | |