var Karte = L.map('meineKarte').setView([49.4521018,11.0766654], 10); L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { 'attribution': 'Kartendaten © OpenStreetMap Mitwirkende', 'useCache': true }).addTo(Karte); var flag_t0 = L.icon({ iconUrl: 'https://traffic.audiobroadcast.eu/images/ts_danger.png', popupAnchor: [-0.5, -6], iconAnchor: [20, 0] }); var flag_t1 = L.icon({ iconUrl: 'https://traffic.audiobroadcast.eu/images/ts_danger.png', popupAnchor: [-0.5, -6], iconAnchor: [20, 0] }); var flag_t2 = L.icon({ iconUrl: 'https://traffic.audiobroadcast.eu/images/ts_jam.png', popupAnchor: [-0.5, -6], iconAnchor: [20, 0] }); var flag_t3 = L.icon({ iconUrl: 'https://traffic.audiobroadcast.eu/images/ts_construction.png', popupAnchor: [-0.5, -6], iconAnchor: [20, 0] }); var flag_t4 = L.icon({ iconUrl: 'https://traffic.audiobroadcast.eu/images/ts_radar.png', popupAnchor: [-0.5, -6], iconAnchor: [20, 0] }); var marker_0 = L.marker([49.44513,11.03584] , {icon: flag_t2}).addTo(Karte); marker_0.bindPopup("B4R Von-der-Tann-Straße
Nürnberg, Von-der-Tann-Straße, Jansen Brücke, zwischen Rothenburger Straße und Frankenschnellweg, dichter Verkehr (Zeitverlust: 4 Minuten)"); var marker_1 = L.marker([49.025987,10.3895] , {icon: flag_t2}).addTo(Karte); marker_1.bindPopup("B25 Donauwörth Richtung Feuchtwangen
zwischen Wilburgstetten und Dinkelsbühl, dichter Verkehr (Zeitverlust: 4 Minuten)"); var latlngs_0 = [[49.44513, 11.03584],[49.44514, 11.03584],[49.44572, 11.0359],[49.44622, 11.03597],[49.44643, 11.036],[49.44698, 11.03609],[49.44725, 11.03615],[49.44819, 11.0364],[49.44837, 11.03644],[49.44842, 11.03645],[49.4485, 11.03647],[49.44863, 11.0365],[49.44879, 11.03654],[49.44882, 11.03654],[49.44884, 11.03655],[49.44905, 11.03661],[49.4493, 11.03671],[49.44942, 11.03675],[49.44952, 11.0368],[49.44979, 11.03694],[49.45001, 11.03706],[49.45037, 11.03727],[49.450431109617, 11.037314714354]]; var polyline_0 = L.polyline(latlngs_0, {color: 'red', opacity:0.8, weight:5}).addTo(Karte); var latlngs_1 = [[49.025987, 10.3895],[49.026676, 10.388351],[49.027415, 10.387148],[49.028179, 10.385947],[49.028302, 10.385752],[49.028793, 10.384989],[49.029023, 10.384624],[49.029276, 10.384229],[49.029709, 10.383587],[49.030932, 10.381619],[49.031112, 10.381341],[49.031829, 10.37994],[49.032504, 10.378507],[49.033393, 10.376532],[49.034678, 10.373765],[49.035061, 10.372834],[49.035955, 10.370439],[49.03625, 10.369784],[49.036582, 10.3692],[49.036912, 10.368712],[49.037317, 10.368307],[49.037533, 10.368147],[49.03777, 10.367971],[49.03804, 10.367749],[49.038494, 10.367288],[49.038879, 10.366625],[49.03892, 10.3665]]; var polyline_1 = L.polyline(latlngs_1, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);