27.02.2018    
16:00 - 20:30

Where

Harju
Harjunkatu, Jyväskylä
var extraData = {}; var lat = 62.2443503; var lon = 25.74319790000004; var name = "Harju"; var addr = "Harjunkatu"; var icons = { red : L.icon({ iconUrl: '/wp-content/icons/marker-icon-red.png', iconAnchor: [12,41] }), green : L.icon({ iconUrl: '/wp-content/icons/marker-icon-green.png', iconAnchor: [12,41] }), blue : L.icon({ iconUrl: '/wp-content/icons/marker-icon-blue.png', iconAnchor: [12,41] }), yellow : L.icon({ iconUrl: '/wp-content/icons/marker-icon-yellow.png', iconAnchor: [12,41] }), purple : L.icon({ iconUrl: '/wp-content/icons/marker-icon-purple.png', iconAnchor: [12,41] }) }; icons["default"] = icons["blue"]; const iconColors = Object.keys(icons); console.log(extraData); var map= L.map('kartta').setView([lat, lon], 13); function onMapClick(e) { console.log(e); } map.on('click', onMapClick); L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map); let icon = icons["default"]; if(!extraData["hideMarker"]){ var m = L.marker([lat, lon], {icon: icon}).addTo(map); m.bindPopup("

" + name + "

" + "

" + addr+ "

"); if(!extraData["noPopup"]) m.openPopup(); } for(var key in extraData["markers"]){ let loc = extraData["markers"][key]; let icon = icons["default"]; if(loc["color"] && iconColors.includes(loc["color"])) icon = icons[loc["color"]] var m = L.marker(loc["location"], {icon: icon}).addTo(map); let text = `

${loc["title"]}

`; if(loc["text"]) text += `

${loc["text"]}

`; m.bindPopup(text); if(loc["popup"]) m.openPopup(); if(loc["center"]) map.setView(loc["location"], 13) } var sijainti = document.getElementById("sijainti"); sijainti.addEventListener("click", locate); var locationPermissionDenied = false; try{ navigator.permissions.query({name:'geolocation'}).then(function(permissionStatus) { if(permissionStatus.state === "granted" && localStorage.getItem("sijainti") == 1){ sijainti.innerText = "Poista sijainti käytöstä"; sijainti.removeEventListener("click", locate); sijainti.addEventListener("click", removeLocation); map.locate(); } else if(permissionStatus.state === "denied") locationPermissionDenied = true; }); } catch (err) {} function locate(){ localStorage.setItem('sijainti', '1'); if(locationPermissionDenied){ alert("Olet aikaisemmin kieltänyt sijainnin tältä sivustolta, jos haluat sallia sijannin uudestaan, googlaa \"Change site permission *oma selain tähän*\""); } else{ sijainti.innerText = "Poista sijainti käytöstä"; sijainti.removeEventListener("click", locate); sijainti.addEventListener("click", removeLocation); if(!navigator.permissions){ alert("Valitettavasti selaimesi ei tue ominaisuutta"); } else if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) { map.locate(); } else{ if (confirm('Havaittiin työpöytäselain, sijainti on erittäin todennäköisesti täysin pielessä. Haluatko silti aivan varmasti sijannin käyttöön?')) { map.locate(); } } } } function removeLocation(){ localStorage.setItem('sijainti', '0'); location.reload(); } var naviImage = L.icon({ iconUrl: '/wp-content/icons/Navigation.png', iconSize: [32, 32] }); function onLocationFound(e) { var radius = e.accuracy; L.marker(e.latlng, {icon: naviImage}).addTo(map).bindPopup("Olet jotakuinkin tässä. Toivottavasti."); L.circle(e.latlng, radius).addTo(map); } map.on('locationfound', onLocationFound); function onLocationError(e) { alert(e.message); } map.on('locationerror', onLocationError); var laajenna = document.getElementById("laajenna"); var iso = false; laajenna.addEventListener("click", function(){ var kartta = document.getElementById("kartta"); if(iso){ kartta.style.height = "20em"; laajenna.textContent = "Suurenna karttaa"; iso = false; } else { kartta.style.height = "60em"; laajenna.textContent = "Pienennä kartta"; iso = true; } setTimeout(()=>map.invalidateSize(), 700); }); let kokoRuutu = document.getElementById("kokoRuutu"); let koko = false; kokoRuutu.addEventListener("click", function(){ let kartta = document.getElementById("kartta"); if(koko){ kartta.style.height = "20em"; kartta.style.width = "unset"; kartta.style.position = "relative"; kartta.style.zIndex = "unset"; laajenna.textContent = "Suurenna karttaa"; koko = false; kokoRuutu.textContent = "Koko ruutu"; kokoRuutu.style.top = "0"; kokoRuutu.style.right = "0"; kokoRuutu.style.position = ""; kokoRuutu.style.backgroundColor = "unset"; kokoRuutu.style.color = "unset"; } else { kartta.style.height = "100vh"; kartta.style.width = "100vw"; kartta.style.top = "0"; kartta.style.left = "0"; kartta.style.position = "fixed"; kartta.style.zIndex = "10000000"; laajenna.textContent = "Pienennä kartta"; koko = true; kokoRuutu.textContent = "Pienennä kartta"; kokoRuutu.style.top = "0"; kokoRuutu.style.right = "0"; kokoRuutu.style.position = "fixed"; kokoRuutu.style.zIndex = "20000000"; kokoRuutu.style.backgroundColor = "Red"; kokoRuutu.style.color = "white"; } setTimeout(()=>map.invalidateSize(), 700); });

Ynnä, Tiltti, Otsoni, Syrinx and MatLu are hosting an outdoor winter event 27.2 from 4pm ->.
Here you get to meet other exchange students (and also Finnish students!), eat barbeque food, crepes and have fun engaging in traditional Finnish sport with sleds!

The outdoor event is held in Harju from 4pm to 6pm after which the event continues with After ski in restaurant Passion Food & Bar.