- Heute
- 48 Stunden
- 9 Tage
- Radar
Prognose für {time} Uhr
Zu Favoriten
hinzufügen +
Entfernen −
{temp}° {info}
Lade Ortscam..
Stündliche Prognose
Tägliche Prognose
{periodText}
{temp}°
{rain}%
'); $('.weather-widget .lightsliderContainer').remove(); $.each(locations, function() { var itemHtml = $itemTpl[0].outerHTML; var $item = $(itemHtml .replace(/{id}/g, this.location.id) .replace(/{name}/g, this.location.name) .replace(/{province}/g, this.location.province) .replace(/{provinceUrl}/g, this.location.provinceUrl) .replace(/{locationUrl}/g, this.location.url) .replace(/{time}/g, this.day.time) .replace(/{minTemp}/g, this.day.minTemp) .replace(/{maxTemp}/g, this.day.maxTemp) .replace(/{temp}/g, this.day.temp) .replace(/{wind}/g, this.day.wind) .replace(/{wdir}/g, this.day.wdir) .replace(/{cloud}/g, this.day.cloud) .replace(/{rain}/g, this.day.rain) .replace(/{icon}/g, ('src="' + this.day.iconBig + '"') .replace('/clouds/', '/clouds-v2/')) .replace(/{info}/g, this.day.info) .replace(/{additionalClasses}/g, this.day.additionalClasses) ); var imageId = this.day.icon.substring(this.day.icon.lastIndexOf("/icon_")+6, this.day.icon.lastIndexOf(".png")); $($item).find('.widgetWrapper').addClass("topWeatherImg").addClass("img"+imageId); let indexElement; const $hourlyContainer = $item.find('.weather-info-hourly'); if (this.hourly.length > 0) { $hourlyContainer.addClass('loaded'); } $(this.hourly).each(function(index) { var hourData = this; var hourHtml = $itemDataTpl[0].outerHTML; Object.keys(hourData).forEach(function(field) { hourHtml = hourHtml.replace( new RegExp('{' + field + '}', 'g'), field === 'icon' ? 'src="' + hourData[field] + '"' : field === 'periodText' ? hourData[field].substring(0,2) + ' h' : hourData[field] ); }); if (this.periodText == '00:00') { const textWrap = document.createElement("div"); textWrap.classList.add("daySeparator"); const text = document.createElement("span"); if(indexElement == undefined) { text.innerHTML = "Morgen"; } else if(indexElement !== index){ text.innerHTML = "Übermorgen"; } textWrap.appendChild(text); let el = $(hourHtml).appendTo($hourlyContainer); el.before(textWrap); indexElement = index; } else { $(hourHtml).appendTo($hourlyContainer); } }); const $dailyContainer = $item.find('.weather-info-daily'); if (this.daily.length > 0) { $dailyContainer.addClass('loaded'); } $(this.daily).each(function(index) { var dayData = this; var dayHtml = $itemDataTpl[0].outerHTML; Object.keys(dayData).forEach(function(field) { dayHtml = dayHtml.replace( new RegExp('{' + field + '}', 'g'), field === 'icon' ? 'src="' + dayData[field] + '"' : dayData[field] ); }); $(dayHtml).appendTo($dailyContainer); }); $item .data('location-info', this) .appendTo($items); if (this.location.hasCam) { attachCamLoader($item, this.location); } else { attachMapLocation($item, this.location); } }); let locationSelectEvent = null; $items.prependTo('.weather-widget') .find('.scrolling-wrapper') .on('touchmove', function(e) { e.stopImmediatePropagation(); this.piTracks = this.piTracks ?? []; const cPi = Math.floor($(this)[0].scrollLeft / 50); if (this.piTracks.indexOf(cPi) < 0) { if(typeof iom === "object" && typeof oewa_data === "object"){ iom.c(oewa_data, 1); } if (typeof oewaCall2023 === "function") { oewaCall2023(); } this.piTracks.push(cPi); } }) .end() .lightSlider({ item: 1, slideMove: 1, loop: false, auto: false, gallery: false, onBeforeSlide: function(el, i) { if(typeof iom === "object" && typeof oewa_data === "object"){ iom.c(oewa_data, 1); } if (typeof oewaCall2023 === "function") { oewaCall2023(); } }, onAfterSlide: function(el, i) { if (locationSelectEvent) { clearTimeout(locationSelectEvent); locationSelectEvent = null; } locationSelectEvent = setTimeout(function() { OE24.events.raise('locationSelected', $(el).find('.lslide.active').data('location-info')); locationSelectEvent = null; }, 300); } }); $('.weather-widget .weather-widget-wrapper .location-add-button').click(function(e) { e.preventDefault(); $currentID = e.currentTarget.getAttribute('data-id'); const $add = $('.weather-widget .weather-widget-wrapper[data-id="'+ $currentID +'"] .location-add-button'); const $del = $('.weather-widget .weather-widget-wrapper[data-id="'+ $currentID +'"] .location-remove-button'); if ($add.hasClass('progress')) return; $add.addClass('progress'); $.put('/xapi/user/addLocation/'+ $currentID, function() { $add.addClass('d-none'); $del.removeClass('d-none'); OE24.events.raise('userLocationsUpdated', $currentID); }).always(function() { $add.removeClass('progress'); }); }); $('.weather-widget .weather-widget-wrapper .location-remove-button').click(function(e) { e.preventDefault(); $currentID = e.currentTarget.getAttribute('data-id'); const $add = $('.weather-widget .weather-widget-wrapper[data-id="'+ $currentID +'"] .location-add-button'); const $del = $('.weather-widget .weather-widget-wrapper[data-id="'+ $currentID +'"] .location-remove-button'); if ($del.hasClass('progress')) return; $del.addClass('progress'); $.delete('/xapi/user/removeLocation/'+$currentID, function() { $add.removeClass('d-none'); $del.addClass('d-none'); OE24.events.raise('userLocationsUpdated', $currentID); }).always(function() { $del.removeClass('progress'); }); }); } function attachCamLoader($item, location) { $item.addClass('hasCam'); const $camBox = $item.find('.col3'); setTimeout(function() { $item.inViewport(function() { $.get('//appcdn.wetter.at/xapi/location/' + location.id + '/renderBox/camPreview?fallbackWithinRadius=10', function(loadedBox) { $camBox.html(loadedBox); OE24.events.raise('lazyLoadedImagesUpdate'); const $camBoxElements = $camBox.find('> *'); $camBox.find('.playCam').on('click', function(e) { if ($item.hasClass('camPlaying')) { return; } $item.addClass('camPlaying'); $camBoxElements .detach() .appendTo($item.find('.playerWrapper')); }); $item.find('.playerWrapper .control').on('click', function() { $camBoxElements .detach() .appendTo($camBox); $camBox.find('.playCam').click(); $item.removeClass('camPlaying'); }); OE24.events.on('locationSelected', function(info) { if ($item.hasClass('camPlaying')) { $item.find('.playerWrapper .control').click(); } }); }); }, false); }, 300); } function attachMapLocation($item, location) { return; const $mapBox = $item.find('.col3'); setTimeout(function() { $item.inViewport(function() { $.get('//appcdn.wetter.at/xapi/location/' + location.id + '/renderBox/geoLocationMap', function(loadedBox) { $mapBox.html(loadedBox); }); }, false); }, 300); }});
Graz Vorschau
Heute 48 Stunden 9 Tage
Morgens
6°
Sprühregen
Bewölkung
87%
Niederschlag
0.04 mm
Wind
11 km/h
NNO
Mittags
7°
Regenschauer
Bewölkung
92%
Niederschlag
0.12 mm
Wind
8 km/h
NNW
Abends
7°
Regenschauer
Bewölkung
97%
Niederschlag
0.17 mm
Wind
9 km/h
NW
Nachts
7°
Regen
Bewölkung
99%
Niederschlag
0.42 mm
Wind
10 km/h
NNW
16:00
6°
Regenschauer
Bewölkung
92%
Niederschlag
56 mm
Wind
4 km/h
NNW
17:00
6°
Regenschauer
Bewölkung
94%
Niederschlag
36 mm
Wind
5 km/h
NW
18:00
6°
Sprühregen
Bewölkung
94%
Niederschlag
29 mm
Wind
7 km/h
WNW
19:00
6°
Regenschauer
Bewölkung
95%
Niederschlag
54 mm
Wind
6 km/h
WNW
Heute
7°
Regenschauer
Bewölkung
91%
Niederschlag
0.13 mm
Wind
11 km/h
NW
Morgen
12°
stark bewölkt
Bewölkung
89%
Niederschlag
0.03 mm
Wind
12 km/h
N
Donnerstag
11°
wolkig
Bewölkung
59%
Niederschlag
0.01 mm
Wind
8 km/h
SSO
Freitag
14°
wolkig
Bewölkung
37%
Niederschlag
0 mm
Wind
15 km/h
S
Regen- Schnee- Warnung
0.16mm
0.1mm
0.08mm
0.15mm
0.15mm
0.2mm
0.22mm
0.36mm
0.51mm
0.6mm
0.74mm
0.73mm
0.52mm
0.3mm
0.16mm
0.08mm
0.05mm
0.03mm
0.04mm
0.04mm
0.04mm
- Jetzt
- 17:00
- 18:00
- 19:00
- 20:00
- 21:00
- 22:00
- 23:00
- 00:00
- 01:00
- 02:00
- 03:00
- 04:00
- 05:00
- 06:00
- 07:00
- 08:00
- 09:00
- 10:00
- 11:00
- 12:00
- Niederschlag
- Bewölkung
mm/ m²/ 15min
0.02
0.04
0.16
0.4
0.7
2
4
>5
die besten Hotels
DEIN PERFEKTER HOTELURLAUB
Österreich Wetter
- Heute
- Morgen
- 9 Tage
- Jetzt
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15