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.6347,11.00997] , {icon: flag_t1}).addTo(Karte); marker_0.bindPopup("A73 Nürnberg - Bamberg
in Höhe Möhrendorf in beiden Richtungen Gefahr durch Personen auf der Fahrbahn"); var latlngs_0 = [[49.6347, 11.00997],[49.63492, 11.01008],[49.635, 11.01012],[49.63523, 11.01025],[49.63546, 11.01039],[49.6356, 11.01048],[49.63568, 11.01053],[49.63594, 11.0107],[49.63615, 11.01084],[49.63638, 11.01101],[49.63659, 11.01117],[49.63678, 11.01131],[49.63691, 11.01142],[49.63708, 11.01155],[49.63723, 11.01169],[49.63744, 11.01188],[49.63768, 11.01209],[49.6379, 11.01229],[49.6381, 11.01247],[49.63834, 11.01269],[49.63857, 11.01291],[49.63893, 11.01326]]; var polyline_0 = L.polyline(latlngs_0, {color: 'red', opacity:0.8, weight:5}).addTo(Karte);