var Karte = L.map('meineKarte').setView([47.8571272,12.118104700000004], 9); 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([47.9718182,11.6539912] , {icon: flag_t4}).addTo(Karte); marker_0.bindPopup("Sauerlach: Blitzeranhänger von Altkirchen kommend,beidseitig"); var marker_1 = L.marker([48.13809,11.75893] , {icon: flag_t1}).addTo(Karte); marker_1.bindPopup("A99 Autobahnring München, München-Süd Richtung München-Nord
in Höhe Kreuz München-Ost Gefahr durch Personen auf der Fahrbahn"); var marker_2 = L.marker([48.137871,11.758952] , {icon: flag_t2}).addTo(Karte); marker_2.bindPopup("A99 Autobahnring München, München-Süd Richtung München-Nord
Autobahnring München, zwischen Kreuz München-Ost und Kirchheim bei München, 1 km Stau (Zeitverlust: 10 Minuten)"); var latlngs_0 = [[47.9718182, 11.6539912]]; var polyline_0 = L.polyline(latlngs_0, {color: 'red', opacity:0.8, weight:5}).addTo(Karte); var latlngs_1 = [[48.13809, 11.75893],[48.13904, 11.75879],[48.13957, 11.75871],[48.14002, 11.75863],[48.14021, 11.7586],[48.14036, 11.75857],[48.14062, 11.75852],[48.14096, 11.75845],[48.14127, 11.75838],[48.1416, 11.75831],[48.14189, 11.75824],[48.14218, 11.75817],[48.14242, 11.75811],[48.14252, 11.75808],[48.14264, 11.75805],[48.14278, 11.75801],[48.14292, 11.75797],[48.14311, 11.75791],[48.14341, 11.75782],[48.14367, 11.75774],[48.14393, 11.75766],[48.1442, 11.75757],[48.14448, 11.75747],[48.14473, 11.75738],[48.14499, 11.75729],[48.14523, 11.7572],[48.1455, 11.7571],[48.14582, 11.75698],[48.14608, 11.75688],[48.14634, 11.75677],[48.14659, 11.75666],[48.14678, 11.75658],[48.14689, 11.75653],[48.14701, 11.75647],[48.14725, 11.75636],[48.14753, 11.75623],[48.14778, 11.75611],[48.14799, 11.75602],[48.14821, 11.75592]]; var polyline_1 = L.polyline(latlngs_1, {color: 'red', opacity:0.8, weight:5}).addTo(Karte); var latlngs_2 = [[48.137871, 11.758952],[48.138349, 11.75888],[48.139272, 11.75875],[48.140221, 11.75859],[48.140679, 11.758497],[48.140889, 11.758452],[48.141553, 11.758309],[48.142486, 11.758069],[48.14295, 11.757946],[48.144068, 11.757606],[48.145405, 11.757135],[48.146752, 11.756579],[48.147258, 11.756351],[48.147456, 11.756259],[48.148664, 11.755664],[48.149283, 11.75533],[48.149723, 11.755093],[48.150512, 11.754626],[48.150731, 11.754496],[48.151283, 11.754148],[48.152221, 11.753548],[48.152399, 11.753423],[48.153222, 11.75285],[48.153606, 11.75257],[48.15462, 11.751829],[48.155088, 11.751461],[48.155916, 11.750829],[48.1565, 11.750362],[48.156929, 11.750018],[48.157082, 11.749891],[48.157533, 11.749523],[48.158024, 11.74912],[48.158819, 11.748453],[48.159349, 11.748002],[48.160896, 11.746684],[48.161287, 11.74634],[48.161743, 11.745937],[48.16236, 11.745386],[48.162963597217, 11.744845430338]]; var polyline_2 = L.polyline(latlngs_2, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);