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.30882,10.59705] , {icon: flag_t2}).addTo(Karte);
marker_0.bindPopup("B14 Nürnberger Straße, Ansbach Richtung Nürnberg
zwischen Hochstraße und Obereichenbach Unfall mit Verletzten, rechter Fahrstreifen gesperrt, Verkehr wird an der Unfallstelle vorbeigeführt, bis 12.01.2025 ca. 12:00 Uhr");
var latlngs_0 = [[49.30882, 10.59705],[49.30889, 10.59726],[49.30895, 10.59742],[49.3091, 10.59786],[49.30927, 10.59843],[49.30945, 10.59899],[49.30959, 10.59946],[49.30963, 10.5996],[49.30974, 10.6],[49.30991, 10.60058],[49.31013, 10.60134],[49.31035, 10.60208],[49.3104, 10.60226],[49.31057, 10.60286],[49.31085, 10.60375],[49.31109, 10.60459],[49.31117, 10.60485],[49.31131, 10.6053],[49.3115, 10.60595],[49.31179, 10.60691],[49.31192, 10.60729],[49.31198, 10.60744],[49.31202, 10.60756],[49.3121, 10.60778],[49.31229, 10.60825]];
var polyline_0 = L.polyline(latlngs_0, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);