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.44845,11.03629] , {icon: flag_t2}).addTo(Karte);
marker_0.bindPopup("B4R Von-der-Tann-Straße
Nürnberg, Von-der-Tann-Straße, zwischen Leyher Straße und Rothenburger Straße, dichter Verkehr (Zeitverlust: 7 Minuten)");
var marker_1 = L.marker([49.375541,11.025669] , {icon: flag_t2}).addTo(Karte);
marker_1.bindPopup("B2 Reichelsdorfer Straße
zwischen Waldstromerstraße und Schwabach, dichter Verkehr (Zeitverlust: 6 Minuten)");
var marker_2 = L.marker([49.363818,11.030198] , {icon: flag_t2}).addTo(Karte);
marker_2.bindPopup("B2 Reichelsdorfer Straße
zwischen Schwabach und Waldstromerstraße, dichter Verkehr (Zeitverlust: 3 Minuten)");
var latlngs_0 = [[49.44845, 11.03629],[49.44796, 11.03617],[49.44723, 11.03602],[49.4463, 11.03585],[49.44622, 11.03584],[49.44543, 11.03574],[49.44499, 11.0357],[49.44425, 11.03566],[49.44344, 11.03565],[49.44214, 11.03575],[49.441857262328, 11.035771419521]];
var polyline_0 = L.polyline(latlngs_0, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);
var latlngs_1 = [[49.375541, 11.025669],[49.375463, 11.025666],[49.375437, 11.025665],[49.37525, 11.025659],[49.374786, 11.025739],[49.3743, 11.025968],[49.374249, 11.025996],[49.374176, 11.026028],[49.373968, 11.026121],[49.37394, 11.026136],[49.373615, 11.026285],[49.373412, 11.026374],[49.37314, 11.026493],[49.372782, 11.02665],[49.372595, 11.026711],[49.372354, 11.02679],[49.371798, 11.026972],[49.371422, 11.027095],[49.370897, 11.02727],[49.370566, 11.027404],[49.370498, 11.027432],[49.37028, 11.027541],[49.370057, 11.027658],[49.369855, 11.027788],[49.369629, 11.027978],[49.369384, 11.028209],[49.369228, 11.028381],[49.369018, 11.028637],[49.368805, 11.028888],[49.368453, 11.029238],[49.367887, 11.029762],[49.367656, 11.029956],[49.367466, 11.030121],[49.367309, 11.030269],[49.367164, 11.030406],[49.366864, 11.030611],[49.366821, 11.03064],[49.366752, 11.030687],[49.366552, 11.03076],[49.366331, 11.030797],[49.366048, 11.030802],[49.365814, 11.030806],[49.365796, 11.030806],[49.365485, 11.030804],[49.365356, 11.030795],[49.365305, 11.030791],[49.365079, 11.030756],[49.363818, 11.030198],[49.363656, 11.030125],[49.363203, 11.029915],[49.363149, 11.029887],[49.363034, 11.029828],[49.362895, 11.029763],[49.362865, 11.029747],[49.36282, 11.029722],[49.362722, 11.029667],[49.362582, 11.029569],[49.362451, 11.029482],[49.362292, 11.029327],[49.362155, 11.029166],[49.362059, 11.029044],[49.361706, 11.028576],[49.361577, 11.028385],[49.361241, 11.027966],[49.36121, 11.027931],[49.36112, 11.02782]];
var polyline_1 = L.polyline(latlngs_1, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);
var latlngs_2 = [[49.363818, 11.030198],[49.365079, 11.030756],[49.365305, 11.030791],[49.365356, 11.030795],[49.365485, 11.030804],[49.365796, 11.030806],[49.365814, 11.030806],[49.366048, 11.030802],[49.366331, 11.030797],[49.366552, 11.03076],[49.366752, 11.030687],[49.366821, 11.03064],[49.366864, 11.030611],[49.367164, 11.030406],[49.367309, 11.030269],[49.367466, 11.030121],[49.367656, 11.029956],[49.367887, 11.029762],[49.368453, 11.029238],[49.3688, 11.0289]];
var polyline_2 = L.polyline(latlngs_2, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);