Estonia After Dark: Baltic Islands, Raised Bogs & Forest Stargazing Areas

Stargazing in Estonia depends less on elevation than on reaching an open sea horizon, a raised-bog clearing or a managed forest edge beyond the strongest settlement glow. This eight-location portfolio compares Baltic island coasts, public bog trails and the Tõravere astronomy campus for August–September, when full astronomical darkness returns and expands rapidly. The marker points are planning centres rather than parking instructions or unrestricted night-access claims.

Estonia Stargazing Score
64/100
Selected eight-location portfolio
Highest-Rated Location
Kaleste Beach · 69/100
Hiiumaa island coast
Target Observing Window
August–September
61 nights assessed for darkness duration
Locations Assessed
8
Same locations in map, score and cards
Strongest Sky Type
Island and open-coast horizons
Low terrain, broad water-facing sectors
Main Field Constraint
Cloud, moisture and protected-area access
Darkness alone does not make a usable night

Estonia Night-Sky Planning Map

Markers show approximate planning centres, not guaranteed legal parking, exact observing pull-offs or unrestricted night access.

Use the linked official records to confirm current trail, ferry, flood, gate and protected-area conditions.

Estonia Stargazing Suitability Score

64/100

This transparent editorial suitability index compares the selected location portfolio through disclosed darkness, cloud, atmospheric, horizon, access and astronomy-support evidence. It is not an official sky classification, a live forecast or a guarantee of access. The score represents these eight planning areas rather than every part of Estonia.

Highest-Rated Location Kaleste Beach · 69/100
Target Observing Window August–September
Locations Assessed 8
Factor Coverage 7/7
Method Version 2.2
Last Reviewed 25 July 2026
Comparability Quality C · categorical and representative evidence
Score Scope Selected Location Portfolio
Artificial-Light Escape
Weight 30%
85/100
Clear-Sky Reliability
Weight 20%
55/100
Atmospheric Transparency Potential
Weight 15%
55/100
Astronomical Darkness Duration
Weight 10%
50/100
Elevation and Horizon Quality
Weight 10%
70/100
Night Access and Legal Clarity
Weight 10%
78/100
Dark-Sky Protection and Astronomy Support
Weight 5%
0/100

Weighted Total: 85×0.30 + 55×0.20 + 55×0.15 + 49.8272×0.10 + 70×0.10 + 77.5×0.10 + 0×0.05 = 64.4827 → 64/100

The country factors are medians of the eight location scores. With eight values, each median is the arithmetic mean of the sorted fourth and fifth values.

Read the Stargazing Suitability Score methodology

Eight Stargazing Planning Areas in Estonia

Cards follow the same score order as the marker map. Search and filters do not change the underlying ranking.

8 locations shown

Kaleste Beach

Kõpu Peninsula, Hiiumaa

69/100
Highest-Rated Location
Island Coast Remote Photography
Light Escape 95/100
Clear Sky 55/100
Access 70/100
  • The RMK campsite sits beside the sandy southern shore of the Kõpu Peninsula.
  • The official destination description identifies little surrounding artificial light and names the beach for star watching.
  • Open sea to the south and southwest provides low-altitude sky, while the pine edge can reduce wind exposure.
  • Salt spray, dew and campsite lighting can affect long exposures even when the wider island sky is dark.

Planning limit: Use the designated campsite and beach approaches, keep dunes clear, and confirm current reserve restrictions before a night setup.

Sõrve Cape

Sõrve Peninsula, Saaremaa

67/100
Island Coast Aurora Easy Access
Light Escape 85/100
Clear Sky 55/100
Access 85/100
  • The cape opens toward the Irbe Strait, with sea sectors extending south of Saaremaa.
  • Visit Estonia lists the cape as open year-round and round the clock.
  • The lighthouse, visitor facilities, vehicles and passing vessels create local light sources that differ from a broad urban dome.
  • The exposed tip is useful for low southern horizons but can be difficult for a lightly mounted telescope in strong wind.

Planning limit: Set up away from the lighthouse beam, turning areas and the immediate shoreline edge; bird-sensitive areas remain active outside daylight hours.

Peraküla Coast

Nõva Recreation Area, Lääne County

67/100
Coast Easy Access Forest Edge Photography
Light Escape 85/100
Clear Sky 55/100
Access 85/100
  • The RMK campsite provides a defined coastal access point, parking and a route through pine forest, dunes, wet ground and lakes.
  • The west-facing sandy shore gives a broad Baltic horizon without an island ferry.
  • Campfires, arriving vehicles and summer visitors can interrupt dark adaptation near the developed area.
  • The campsite lies within the Nõva protected landscape, and parking outside designated places is prohibited.

Planning limit: Choose a legal setup that does not cross dune vegetation or block campsite movement; move away from active fire rings rather than creating an informal pull-off.

Riisa Trail

Soomaa National Park, Pärnu County

65/100
Raised Bog Easy Access Forest Edge Telescope
Light Escape 85/100
Clear Sky 55/100
Access 85/100
  • The trail entrance is beside the Jõesuu–Tõramaa road, with a car park and basic facilities at the gate.
  • A 4.8 km route crosses open bog, forest transitions, wetland pools, rest points and a watchtower.
  • The first 1.2 km is described as accessible for wheelchair and stroller users, giving a shorter public approach than several bog routes.
  • Soomaa water levels can change the practical route even when the sky score remains unchanged.

Planning limit: Check flood and boardwalk conditions before departure; an open bog score does not override a closed, submerged or slippery route.

Mukri Bog

Mukri Nature Reserve, Rapla County

65/100
Raised Bog Easy Access Tower Photography
Light Escape 85/100
Clear Sky 55/100
Access 85/100
  • The RMK trail crosses pools and bog lakes and reaches an observation tower about 670 m from parking.
  • The tower opens the skyline above the surrounding forest, while ground-level bog edges provide steadier tripod positions where space permits.
  • People moving on a timber tower can spoil long exposures through vibration.
  • Bog humidity can produce rapid lens condensation after a clear evening cools.

Planning limit: Do not treat the tower deck as an exclusive equipment platform; keep stairs and viewing space open and test vibration before starting a long exposure.

Tõravere Observatory

Nõo Parish, Tartu County

64/100
Observatory Public Events Telescope Easy Access
Light Escape 70/100
Clear Sky 55/100
Access 70/100
  • Tartu Observatory is Estonia’s main professional astronomy and space-science centre in Tõravere.
  • The visitor centre is available by prior arrangement, and the institution runs public Starry Night observation events.
  • The rural hill and astronomy infrastructure support learning and telescope use, but facility lighting and event rules differ from an independent dark rural site.
  • The marker identifies the public-facing observatory campus, not permission to enter telescope compounds after hours.

Planning limit: Book visits or attend announced public events; do not infer independent access to research buildings, telescope towers or service roads.

Kakerdaja Bog

Kõrvemaa, Järva County

59/100
Raised Bog Tallinn Escape Forest Edge Photography
Light Escape 70/100
Clear Sky 55/100
Access 70/100
  • Four kilometres of the nature route use boardwalk through the raised bog.
  • The open wetland provides a broad overhead field while the Tallinn light dome remains a directional concern to the northwest.
  • Reflectors are installed on the Kalajärve trail section, and the official description recommends carrying a flashlight.
  • The boardwalk is a narrow travel surface rather than a general tripod platform.

Planning limit: Arrive before sunset, identify wider rest points in daylight, and keep equipment out of the walking line.

Selisoo

Alutaguse National Park, Ida-Viru County

56/100
Raised Bog Forest Edge Remote Tower
Light Escape 70/100
Clear Sky 55/100
Access 70/100
  • The 4 km trail crosses transition mire, raised bog, wooded mire, pools and wet patches.
  • RMK lists parking for up to six cars, two campfire sites and year-round maintenance.
  • The route lies close to the Estonia Mine junction, so eastern and industrial horizon glow must be checked rather than judging darkness only at the zenith.
  • RMK reported flooded boardwalk sections during the July 2026 review.

Planning limit: Verify the live RMK notice before travel; motor vehicles are prohibited away from roads and paths, and fires are limited to designated sites.

Hiiumaa and Sõrve: Sea Horizons with Different Local-Light Problems

Kaleste and Sõrve both face open Baltic water, but their near-field light, wind and access patterns are not interchangeable.

Kaleste: Beach Edge or Pine Shelter

Kaleste’s strongest advantage is separation from large settlements on the Kõpu Peninsula. A beach setup gains the broadest southern and western view. Moving toward the coastal pine edge can reduce wind, though trees then remove low sky and complicate aurora or meteor photography. Campsite lights are local and avoidable; they should not be treated as the same effect as a distant city dome.

Sõrve: Keep the Beam Outside the Working Sector

The cape’s Irbe Strait geometry gives useful southern sky from Estonia’s lowest-latitude location in the portfolio. The working lighthouse and visitor zone require deliberate framing. A telescope can face away from the rotating beam, while a camera may still record flare from light outside the image. Vessel lights also move through long exposures and cannot be removed by choosing a darker patch of beach.

SetupOpen HorizonWind ShelterLocal-Light ControlMain Use
Kaleste beachSouth and southwestLowModerateMilky Way landscape and broad sky
Kaleste pine edgePartialBetterBetterVisual observing with wind protection
Sõrve cape tipSouth across Irbe StraitLowLower near lighthouseLow-altitude southern targets

Kakerdaja, Mukri, Riisa and Selisoo: Open Sky on a Narrow Route

A raised bog removes much of the tree canopy, but the boardwalk limits where people and equipment can stand.

A Boardwalk Is a Route, Not an Equipment Platform

Tripod legs, telescope cases and chairs must not close the route. Wider rest points, official viewing pockets and stable ground near the trail entrance are better than the centre of a narrow timber section. Wood also transmits movement, so a passing walker can spoil an exposure without touching the camera.

Water Level Can Override the Published Score

Selisoo carried a flooded-boardwalk notice during the July 2026 review, and Soomaa is shaped by recurring flood conditions. The suitability score describes the location portfolio under disclosed access evidence; it does not make a submerged route usable. RMK notices and protected-area instructions take priority on the observation date.

BogPublic ApproachOpen-Sky FeatureField Constraint
KakerdajaLong boardwalk sectionBroad overhead fieldNarrow setup space; Tallinn sector
MukriTower about 670 m from parkingElevated view above forestTower vibration and dew
RiisaCar park at trail gate; shorter accessible sectionBog–forest transitionFlood status and route length
SelisooSmall official parking and campfire sitesPools, mire and forest edgeFlooded sections and industrial horizon

Tallinn, Tartu and Ida-Viru Glow Must Be Read by Direction

A low zenith reading does not remove a brighter horizon sector. Observation direction matters across Estonia’s flat terrain.

Kakerdaja and the Tallinn Sector

Kakerdaja lies far enough inland to escape direct urban lighting at ground level, yet the Tallinn metropolitan glow can remain visible toward the northwest. Southern and eastern targets can therefore perform better than a country score alone suggests.

Tõravere and Tartu–Elva Light

The observatory is rural, not isolated. Facility lights and nearby settlements make it a stronger learning and organised-telescope location than a top artificial-light escape. Its 85-point support score should not be mistaken for a 95-point darkness score.

Selisoo and the Mine Corridor

Selisoo’s bog interior can feel dark while mine, road and industrial lighting remains visible in selected directions. Check the eastern and northern horizon before choosing an aurora composition; a dark zenith cannot repair a bright foreground sector.

August–September: Astronomical Night Returns Unevenly Across Estonia

The two-month window begins with zero-duration astronomical darkness at the northern locations and ends with nearly eight hours per night.

At Estonia’s latitude, sunset is not the start of a fully dark observing session. During early August the Sun may not pass 18 degrees below the horizon at the northern island and mainland markers. Those zero-hour nights remain in the 61-night average rather than being discarded. Sõrve gains a small darkness advantage because it is the southernmost point in the portfolio; Peraküla, Kakerdaja and Selisoo sit farther north and recover full darkness slightly later.

Milky Way Planning

Late August and September provide the stronger balance for landscape work: full darkness is longer, the coastal and bog routes remain generally free of winter snow, and the southern Galactic structure is still available in the evening. Moon altitude and cloud must be checked for the actual night.

Aurora Planning

Kaleste, Sõrve and Peraküla offer open water-facing sectors, while bogs provide inland northern horizons where forest gaps allow. Aurora remains an extra opportunity rather than a score promise. A space-weather alert cannot overcome cloud, fog or a bright local horizon.

Estonia Location Score and Field-Use Comparison

All eight ranked locations use the same seven-factor calculation and the same August–September window.

RankLocationScoreLight EscapeClear SkyPrimary UseHorizonAccessMain Constraint
1Kaleste Beach699555Island dark-sky landscapeOpen south and southwest70Wind, moisture, campsite lights
2Sõrve Cape678555Low southern horizonOpen across Irbe Strait85Lighthouse beam and exposure
3Peraküla Coast678555Mainland coastal setupOpen west-facing coast85Vehicles, campfires and dunes
4Riisa Trail658555Accessible bog transitionOpen bog with forest edges85Flood status and boardwalk
5Mukri Bog658555Bog tower and wide fieldOpen bog and tower85Tower vibration and dew
6Tõravere Observatory647055Public astronomy eventsMixed rural campus sectors70Booking and compound rules
7Kakerdaja Bog597055Directional city escapeOpen bog with forest edges70Tallinn-side glow and narrow boardwalk
8Selisoo567055Eastern bog comparisonOpen bog with forest edges70Flooded sections and industrial glow

Tonight’s Astronomical Darkness

Calculated live from each location’s coordinates using NOAA’s public solar-position formula. Weather, cloud cover and local obstructions are not included.

Calculating…

Verification and Limits

Review Record

  • Last Reviewed: 25 July 2026
  • Target Observing Window: August–September
  • Locations Assessed: 8
  • Method Version: 2.2
  • Comparability Quality: C
  • Darkness Calculation: 1 August–30 September 2026, 61/61 nights at every marker

Data Limits

  • No unsupported Bortle class, SQM reading or point VIIRS radiance is assigned.
  • Clear-sky and atmospheric values use disclosed categorical rubrics because a consistent eight-point night series was not extracted.
  • Satellite night-light background, where consulted, is not identical to ground-level sky brightness.
  • Protected-area status does not by itself create lighting protection or permission for an independent night setup.
  • Temporary flood, disease-control, road, ferry and facility notices can change after review.
  • Tonight’s weather and moon position are outside the static score.

Principal source groups: State Forest Management Centre route and campsite records; Visit Estonia destination records; University of Tartu observatory information; Estonian Environmental Board visitor guidance; national geoportal mapping; NOAA solar-position equations; NASA night-light product documentation.

(function(){ “use strict”; var boot=function(){ var root=document.getElementById(“stargaze-in-estonia”); if(!root){return;} var prefersReduced=false; if(typeof window.matchMedia===”function”){ prefersReduced=window.matchMedia(“(prefers-reduced-motion: reduce)”).matches; } var mapElement=document.getElementById(“dsky-map-estonia”); var mapData=[ {name:”Kaleste Beach”,region:”Kõpu Peninsula, Hiiumaa”,lat:58.908368,lng:22.133048,score:69,cardId:”kaleste-beach-card”}, {name:”Sõrve Cape”,region:”Sõrve Peninsula, Saaremaa”,lat:57.909700,lng:22.055800,score:67,cardId:”sorve-cape-card”}, {name:”Peraküla Coast”,region:”Nõva Recreation Area, Lääne County”,lat:59.221491,lng:23.603008,score:67,cardId:”perakula-coast-card”}, {name:”Riisa Trail”,region:”Soomaa National Park, Pärnu County”,lat:58.483300,lng:24.983300,score:65,cardId:”riisa-trail-card”}, {name:”Mukri Bog”,region:”Mukri Nature Reserve, Rapla County”,lat:58.746752,lng:24.975231,score:65,cardId:”mukri-bog-card”}, {name:”Tõravere Observatory”,region:”Nõo Parish, Tartu County”,lat:58.259200,lng:26.459800,score:64,cardId:”toravere-observatory-card”}, {name:”Kakerdaja Bog”,region:”Kõrvemaa, Järva County”,lat:59.188690,lng:25.510210,score:59,cardId:”kakerdaja-bog-card”}, {name:”Selisoo”,region:”Alutaguse National Park, Ida-Viru County”,lat:59.170928,lng:27.296663,score:56,cardId:”selisoo-card”} ]; var markerStore=[]; var createMarkerIcon=function(index){ var markerNode=document.createElement(“span”); markerNode.className=”dsky-marker”; markerNode.setAttribute(“aria-hidden”,”true”); markerNode.textContent=String(index+1); return window.L.divIcon({className:””,html:markerNode,iconSize:[34,34],iconAnchor:[17,17],popupAnchor:[0,-18]}); }; var createPopup=function(location){ var popup=document.createElement(“div”); popup.className=”dsky-popup”; var name=document.createElement(“strong”); name.textContent=location.name; popup.appendChild(name); popup.appendChild(document.createElement(“br”)); var summary=document.createElement(“span”); summary.textContent=location.region+” · “+location.score+”/100”; popup.appendChild(summary); popup.appendChild(document.createElement(“br”)); var detail=document.createElement(“a”); detail.className=”dsky-popup-detail”; detail.href=”#”+location.cardId; detail.dataset.cardId=location.cardId; detail.textContent=”View Details Below”; popup.appendChild(detail); return popup; }; var leafletAttempts=0; var initMap=function(){ if(!mapElement){return;} if(mapElement.dataset.ready===”1″){return;} if(mapElement._leaflet_id){return;} if(typeof window.L===”undefined”){ leafletAttempts+=1; if(leafletAttempts===4){ if(!document.querySelector(“script[data-dsky-leaflet-fallback]”)){ var fallback=document.createElement(“script”); fallback.src=”https://cdn.jsdelivr.net/npm/leaflet@1.9.4/dist/leaflet.js”; fallback.dataset.dskyLeafletFallback=”1″; fallback.onload=initMap; document.head.appendChild(fallback); } } if(leafletAttempts===24){return;} window.setTimeout(initMap,250); return; } mapElement.dataset.ready=”1″; var map=window.L.map(mapElement,{scrollWheelZoom:false,attributionControl:true}); mapElement._dskyMap=map; if(map.attributionControl){map.attributionControl.setPrefix(false);} window.L.tileLayer(“https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png”,{maxZoom:19,attribution:”\u00A9 OpenStreetMap contributors”}).addTo(map); var bounds=[]; mapData.forEach(function(location,index){ var marker=window.L.marker([location.lat,location.lng],{icon:createMarkerIcon(index)}).addTo(map).bindPopup(createPopup(location)); markerStore.push(marker); bounds.push([location.lat,location.lng]); }); map.fitBounds(bounds,{padding:[32,32],maxZoom:6}); window.requestAnimationFrame(function(){ window.requestAnimationFrame(function(){map.invalidateSize();}); }); window.setTimeout(function(){map.invalidateSize();},250); window.setTimeout(function(){map.invalidateSize();},1000); window.addEventListener(“resize”,function(){map.invalidateSize();}); if(typeof window.ResizeObserver===”function”){ var observer=new window.ResizeObserver(function(){map.invalidateSize();}); observer.observe(mapElement); } var legendButtons=root.querySelectorAll(“.dsky-map-item”); Array.prototype.forEach.call(legendButtons,function(button){ button.addEventListener(“click”,function(){ var index=Number(button.dataset.mapIndex); var marker=markerStore[index]; if(marker){marker.openPopup();} }); }); mapElement.addEventListener(“click”,function(event){ var target=event.target; if(!target){return;} if(!target.classList.contains(“dsky-popup-detail”)){return;} event.preventDefault(); var card=document.getElementById(target.dataset.cardId); if(!card){return;} card.scrollIntoView({behavior:prefersReduced?”auto”:”smooth”,block:”start”}); card.classList.add(“is-highlighted”); window.setTimeout(function(){card.classList.remove(“is-highlighted”);},1800); }); }; initMap(); var evidenceButtons=root.querySelectorAll(“.dsky-evidence-toggle”); Array.prototype.forEach.call(evidenceButtons,function(button){ button.addEventListener(“click”,function(){ var panel=document.getElementById(button.getAttribute(“aria-controls”)); if(!panel){return;} var opening=panel.hidden===true; panel.hidden=!opening; button.setAttribute(“aria-expanded”,opening?”true”:”false”); button.textContent=opening?”Hide Method, Location Values and Sources”:”View Method, Location Values and Sources”; }); }); var searchInput=document.getElementById(“estonia-location-search”); var filterButtons=root.querySelectorAll(“.dsky-filter-btn”); var spotCards=root.querySelectorAll(“.dsky-spot-card”); var resultCount=root.querySelector(“.dsky-result-count”); var activeFilter=”all”; var applyFilters=function(){ var query=””; if(searchInput){query=searchInput.value.toLowerCase().replace(/^\s+|\s+$/g,””);} var shown=0; Array.prototype.forEach.call(spotCards,function(card){ var text=(card.dataset.name+” “+card.dataset.region+” “+card.dataset.tags).toLowerCase(); var searchMatch=query===””; if(!searchMatch){searchMatch=text.indexOf(query)!==-1;} var filterMatch=activeFilter===”all”; if(!filterMatch){filterMatch=card.dataset.tags.indexOf(activeFilter)!==-1;} var visible=false; if(searchMatch){if(filterMatch){visible=true;}} card.hidden=!visible; if(visible){shown+=1;} }); if(resultCount){resultCount.textContent=shown+” location”+(shown===1?””:”s”)+” shown”;} }; if(searchInput){searchInput.addEventListener(“input”,applyFilters);} Array.prototype.forEach.call(filterButtons,function(button){ button.addEventListener(“click”,function(){ activeFilter=button.dataset.filter; Array.prototype.forEach.call(filterButtons,function(item){ var selected=item===button; item.classList.toggle(“is-active”,selected); item.setAttribute(“aria-pressed”,selected?”true”:”false”); }); applyFilters(); }); }); var factorElements=root.querySelectorAll(“.dsky-score-factor”); var weightTotal=0; var countryRaw=0; var formulaParts=[]; Array.prototype.forEach.call(factorElements,function(factor){ var value=Number(factor.dataset.score); var weight=Number(factor.dataset.weight.replace(“%”,””)); weightTotal+=weight; countryRaw+=value*(weight/100); formulaParts.push(String(value)+”×”+(weight/100).toFixed(2)); var visibleValue=factor.querySelector(“.dsky-score-value”); if(visibleValue){visibleValue.textContent=Math.round(value)+”/100″;} var bar=factor.querySelector(“.dsky-bar-fill”); if(bar){bar.style.width=Math.round(value)+”%”;} }); var countryRounded=Math.round(countryRaw); var scoreCard=root.querySelector(“.dsky-score-card”); if(scoreCard){ scoreCard.dataset.overallScore=String(countryRounded); scoreCard.dataset.factorCountValid=factorElements.length===7?”1″:”0″; scoreCard.dataset.weightTotalValid=weightTotal===100?”1″:”0″; } var scoreNumber=root.querySelector(“.dsky-score-number”); if(scoreNumber){scoreNumber.textContent=countryRounded+”/100″;} var countryDisplays=root.querySelectorAll(“[data-country-score-display]”); Array.prototype.forEach.call(countryDisplays,function(node){node.textContent=String(countryRounded);}); var weightedFormula=root.querySelector(“.dsky-weighted-formula”); if(weightedFormula){weightedFormula.textContent=formulaParts.join(” + “);} var weightedResult=root.querySelector(“.dsky-weighted-result”); if(weightedResult){weightedResult.textContent=countryRaw.toFixed(4)+” → “+countryRounded+”/100″;} var locationRecords=[]; Array.prototype.forEach.call(spotCards,function(card,index){ var calculatedRaw=Number(card.dataset.lightScore)*0.30+Number(card.dataset.clearScore)*0.20+Number(card.dataset.atmosphereScore)*0.15+Number(card.dataset.darknessScore)*0.10+Number(card.dataset.horizonScore)*0.10+Number(card.dataset.accessScore)*0.10+Number(card.dataset.supportScore)*0.05; var storedRaw=card.dataset.locationScoreRaw; var rawMatches=Number(storedRaw).toFixed(4)===Number(calculatedRaw).toFixed(4); var rounded=Math.round(calculatedRaw); card.dataset.rawScoreValid=rawMatches?”1″:”0”; card.dataset.locationScore=String(rounded); var number=card.querySelector(“.dsky-location-score-number”); if(number){number.textContent=String(rounded);} locationRecords.push({card:card,name:card.dataset.locationName,score:rounded,raw:calculatedRaw,index:index}); }); var sortedRecords=locationRecords.slice(); sortedRecords.sort(function(a,b){ var roundedDelta=b.score-a.score; if(roundedDelta===0){return b.raw-a.raw;} return roundedDelta; }); var orderValid=true; sortedRecords.forEach(function(record,index){ if(record.card!==locationRecords[index].card){orderValid=false;} }); root.dataset.locationOrderValid=orderValid?”1″:”0″; var topScore=0; if(sortedRecords[0]){topScore=sortedRecords[0].score;} var leaders=sortedRecords.filter(function(record){return record.score===topScore;}); var leaderNames=leaders.map(function(record){return record.name;}); root.dataset.bestLocation=leaderNames.join(” | “); root.dataset.bestLocationScore=String(topScore); root.dataset.bestLocationCount=String(leaders.length); var leaderLabel=leaders.length===1?”Highest-Rated Location”:”Joint Highest-Rated Locations”; var labelNodes=root.querySelectorAll(“[data-best-location-label]”); Array.prototype.forEach.call(labelNodes,function(node){node.textContent=leaderLabel;}); var nameNodes=root.querySelectorAll(“[data-best-location-name]”); Array.prototype.forEach.call(nameNodes,function(node){node.textContent=leaderNames.join(“, “);}); var scoreNodes=root.querySelectorAll(“[data-best-location-score]”); Array.prototype.forEach.call(scoreNodes,function(node){node.textContent=String(topScore);}); locationRecords.forEach(function(record){ var top=record.score===topScore; record.card.classList.toggle(“is-top-location”,top); var badge=record.card.querySelector(“.dsky-top-badge”); if(top){ if(!badge){ badge=document.createElement(“span”); badge.className=”dsky-top-badge”; var topRow=record.card.querySelector(“.dsky-spot-top”); if(topRow){topRow.parentNode.insertBefore(badge,topRow.nextSibling);} } if(badge){badge.textContent=leaderLabel;} }else{ if(badge){badge.parentNode.removeChild(badge);} } }); }; if(document.readyState===”loading”){ document.addEventListener(“DOMContentLoaded”,boot,{once:true}); }else{ boot(); } })();
📌

Complete guide: Stargazing Countries

Scroll to Top