1!function(){"use strict";window.radarPreview={zoom:6,lat:50,lon:50,init(){wpLocation.city||wpLocation.country||wpLocation.continent||wpLocation.region||(wpLocation.city=wpLocation.cityDefault),wpLocation.continent?(this.zoom=wpLocation.continent.zoomLevel-1.5,this.lat=wpLocation.continent.latitude,this.lon=wpLocation.continent.longitude):wpLocation.country?(this.zoom=wpLocation.country.zoomLevel-1.5,this.lat=wpLocation.country.latitude,this.lon=wpLocation.country.longitude):wpLocation.region?(this.zoom=wpLocation.region.zoomLevel-1.5,this.lat=wpLocation.region.latitude,this.lon=wpLocation.region.longitude):wpLocation.city&&(this.lat=wpLocation.city.lat,this.lon=wpLocation.city.lon);const o=["regenradar","onweerradar","satelliet","regenenwolken"],t=[this.lat,this.lon];let e;document.querySelectorAll(".radar-preview").forEach((o=>{snippetIsVisible(o)&&(e=o)})),e&&o.forEach((o=>{const n=e.querySelector(".map-"+o);if(n){let e=wpLocation.url(null,o,"");"regenenwolken"===o&&(e=wpLocation.url(null,"regenradar","regen-en-wolken"));const i=n.querySelector(".map-card"),a=IPT.map(i,{center:t,zoom:this.zoom,mapLayers:[IPT.MAP.BASE,IPT.MAP.BORDER],panning:!1,zooming:!1}),r={timebar:{position:"hidden",autoplay:!1},legend:{position:"hidden"}};"regenradar"===o&&a.setElementLayers([IPT.NOWCAST.RADAR_FORECAST],r),"onweerradar"===o&&(a.setElementLayers([IPT.NOWCAST.RADAR_FORECAST],r),IPT.lightningOverlay({apiKey:radarPreviewApiKey,history:!1,bounds:!0,expert:!1}).addTo(a)),"satelliet"===o&&a.setElementLayers([IPT.NOWCAST.SATELLITE],r),"regenenwolken"===o&&a.setElementLayers([IPT.NOWCAST.RADSAT],r),n.setAttribute("href",e)}}))}},document.addEventListener("DOMContentLoaded",(()=>radarPreview.init()))}();//# sourceMappingURL=SnippetMapsRadarPreview.min.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.