| | |
| | | })}, 10); |
| | | }; |
| | | showOnMapElement.addEventListener('click', showOnMapFunction); |
| | | showOnMapElement.className = 'icon-pin addon-icon'; |
| | | showOnMapElement.className = 'icon icon-pin'; |
| | | showOnMapElement.title = lang.show_on_map; |
| | | |
| | | if(additional) { |
| | |
| | | vehicles_last_update[type] = 0; |
| | | }); |
| | | |
| | | ol.style.IconImageCache.shared.setSize(512); |
| | | |
| | | geolocation_feature = new ol.Feature({ |
| | | name: '', |
| | | style: new ol.style.Style({ |
| | |
| | | |
| | | var layers = [ |
| | | new ol.layer.Tile({ |
| | | source: new ol.source.OSM(), |
| | | source: new ol.source.OSM({ |
| | | url: 'https://tiles.ttss.pl/{z}/{x}/{y}.png', |
| | | }), |
| | | }), |
| | | route_layer, |
| | | geolocation_layer, |