A mountain lake and scenic alpine map point to cooler destinations for a refreshing 2–4 day summer break.

Where to Go for a Cooler 2–4 Day Summer Break

A short summer break rewards places where cooler air starts close to the station, airport or hotel rather than after another half-day transfer. Two days favor high or maritime bases with little arrival friction; three days make room for a lake, lift or high-ground day; four days can justify a slower Alpine-valley transfer. The useful measure is usable cool hours: time spent in milder conditions after the final connection, not simply the number of nights booked.

Routes Assessed
7 bases · 5 countries

The same seven places are used in the climate score, marker map and comparison matrix.

Daytime Route Median
19.5°C

July–August historical planning median across the selected bases.

Night Route Median
7.7°C

Cool sleeping conditions are a strong part of the route set; a light insulating layer is useful after sunset.

Car-Light Arrival
7 of 7 bases

Every base can be reached by regular rail, bus or scheduled coach, though individual mountain or lake outings may need reservations.

48-Hour Strength
Seefeld · Davos · Tromsø

Cooling begins at the base, so a second transfer is optional rather than necessary.

Four-Day High-Valley Case

The 1,941 m village brings very low summer heat exposure, but the Ötztal rail-and-bus approach consumes more of a short break.

Seven Short-Break Bases from Tromsø to Banff

The markers represent the same bases used throughout the route set. They are planning centers rather than exact trailheads, viewpoints or legal parking points.

Marker positions use approximate public location centers. Use each route card for its Google Maps location and check current local transport, mountain-railway and road information before travel.

Short-Break Cooler Escape Suitability Score

This transparent editorial suitability index uses disclosed climate, landscape, access and peak-pressure factors for the seven selected bases. It is not an official climate classification or a weather forecast, and route count does not add bonus points.

94 out of 100
Calculated from 7 disclosed factors
Target windowJuly–August
Climate baseline1991–2020 where available; disclosed route proxy where needed
Heatwave periodOfficial threshold climatology or recent daily series, stated by route
Routes assessed7 routes
MethodologyVersion 1.2
Last reviewedOctober 29, 2026
Factor coverage7/7
Comparability qualityC — mixed official periods and one gridded route proxy reduce direct comparability
Peak-Summer Daytime Temperature25%
100/100
Method: Route-level July–August mean daily maxima, then median aggregation and fixed temperature normalization. Raw: 19.5°C route median. Route values: Seefeld Plateau 20.5°C; Davos 18.4°C; Tromsø 15.7°C; St. Moritz and the Engadin Lakes 19.5°C; Banff 22.3°C; Garmisch-Partenkirchen 22.0°C; Obergurgl 16.7°C. Median: 19.5°C. Source mapping: Seefeld Plateau and Obergurgl — GeoSphere Austria 1991–2020 station normals, station codes not exposed in the cited public view; Davos — MeteoSwiss DAV/WMO 06784 direct high-altitude station; Tromsø — MET Norway Tromsø/Langnes official station series, WMO 01026; St. Moritz — MeteoSwiss Samedan/SAM representative high-valley station, roughly 5–7 km from St. Moritz and about 100 m lower; Banff — Environment and Climate Change Canada BANFF/BANFF CS composite, Climate IDs 3050520 and 3050519; Garmisch-Partenkirchen — DWD regional station context with a route-center gridded cross-check because the selected base series is not fully aligned to the other national normals. Period: 1991–2020 normals where published; Garmisch-Partenkirchen uses the disclosed route proxy aligned to the same summer months. Sources: GeoSphere Austria climate normals; MeteoSwiss 1991–2020 normals documentation; MET Norway standard normals; Environment and Climate Change Canada Banff normals; DWD 1991–2020 climate data.
Method: Route-level July–August mean daily minima, then median aggregation and fixed night-temperature normalization. Raw: 7.7°C route median. Route values: Seefeld Plateau 9.0°C; Davos 7.7°C; Tromsø 8.7°C; St. Moritz and the Engadin Lakes 7.0°C; Banff 6.3°C; Garmisch-Partenkirchen 11.0°C; Obergurgl 6.7°C. Median: 7.7°C. Source mapping: The same direct, representative and gridded mappings used for daytime temperature are retained so the day/night comparison does not silently switch stations. Banff values come from the ECCC BANFF composite; St. Moritz uses Samedan/SAM as the representative high-valley station; Garmisch-Partenkirchen remains the least directly comparable route because of the gridded cross-check. Period: July–August, primarily 1991–2020. Sources: GeoSphere Austria climate normals; MeteoSwiss normals product; MET Norway climate data; ECCC Banff climate normals; DWD climate normals archive.
Method: Fixed categorical rubric based on base elevation or regular access to higher ground within about 60 minutes. Raw: Route-score median 100/100. Route scores: Seefeld Plateau 100 — base near 1,182 m; Davos 100 — base near 1,560 m with higher rail and lift access; Tromsø 60 — low coastal base with meaningful nearby high ground but without the same 1,000–1,500 m access band; St. Moritz and the Engadin Lakes 100 — base near 1,822 m; Banff 100 — town near 1,384 m; Garmisch-Partenkirchen 100 — 708 m town with regular cogwheel/cable access far above 1,500 m; Obergurgl 100 — village near 1,941 m. Median: 100/100. Route rationale: The score rewards sleeping high or reaching high terrain quickly; it does not reward summit height by itself. Tromsø therefore scores lower despite its cool maritime climate. Period: Current public access configuration reviewed October 29, 2026. Sources: Seefeld mobility; Davos arrival and local transport; Engadin mountain-rail operating data; Zugspitze operating times; Gurgl Hohe Mut access.
Forest, Lake and Coast Access15%
100/100
Method: Fixed access rubric based on strong forest, lake, river or marine environments reachable from each base within about 30 minutes. Raw: Route-score median 100/100. Route scores: Seefeld Plateau 100 — forest belt plus Wildmoos and nearby lakes; Davos 100 — Davosersee plus surrounding forest; Tromsø 75 — immediate fjord and marine access as one dominant water system; St. Moritz and the Engadin Lakes 100 — Lej da Staz and the Upper Engadin lake chain at high elevation; Banff 100 — Bow River, forest and multiple mountain-lake corridors; Garmisch-Partenkirchen 100 — forest, Loisach valley and Eibsee access; Obergurgl 75 — alpine streams and stone-pine forest but less immediate large-water access. Median: 100/100. Route rationale: The factor measures practical access to cooling landscapes, not scenery quality. High-altitude lake systems such as the Upper Engadin retain the water advantage without requiring a descent into a much warmer lowland basin. Period: Public geographic and transport access reviewed October 29, 2026. Sources: Seefeld regional access; Parks Canada Lake Louise and Moraine Lake access; Zugspitze and Eibsee transport corridor; Gurgl high-alpine access.
Method: Official threshold-frequency fallback where published; a recent daily gridded series is used only for Garmisch-Partenkirchen. Mixed periods are retained rather than presented as a false common daily series. Raw: Median route exposure remains inside the 0–1% normalization band. Route values: Seefeld Plateau sits in the low single-digit hot-day band; Davos has no hot days in the cited MeteoSwiss high-altitude station record; Tromsø remains in the rare-event band for 30°C days in official northern-Norway records; St. Moritz and the Engadin Lakes remains in the 0–1% high-valley band using the Samedan representative station; Banff 3.9% using ECCC’s published July–August frequency of days above 30°C as the closest official threshold fallback; Garmisch-Partenkirchen 4.2% from a 2016–2025 route-center daily series with 620/620 target days assessed; Obergurgl 0.0% in the published hot-day record. Median classification: 0–1%. Source mapping: Austria — GeoSphere hot-day climatology; Davos — MeteoSwiss high-altitude hot-day record; Tromsø — MET Norway extreme-temperature reporting; St. Moritz — Samedan high-valley representative; Banff — ECCC BANFF composite, whose published threshold is >30°C rather than ≥30°C; Garmisch-Partenkirchen — route-center gridded daily maximum series cross-checked against DWD regional climatology. Period: Published climatological or station-record periods for the official fallback routes; Banff uses 1991–2020 threshold normals; Garmisch-Partenkirchen uses July–August 2016–2025 with 100% coverage of the 620 expected days. Sources: GeoSphere Austria threshold data; MeteoSwiss hot-day analysis; MET Norway extreme-temperature report; ECCC Banff threshold normals; DWD climate archive.
Transport Accessibility10%
100/100
Method: Fixed transport rubric using regular public transport to the accommodation base; optional excursion transport does not reduce the base-arrival score unless it is necessary to obtain the route’s cooling benefit. Raw: Route-score median 100/100. Route scores: Seefeld Plateau 100 — direct rail plus regional buses; Davos 100 — SBB to Landquart and RhB to Davos with local buses; Tromsø 100 — airport served by city routes 24, 26, 40 and 42 plus an airport express; St. Moritz and the Engadin Lakes 100 — direct RhB rail access to the high valley; Banff 80 — scheduled coach/transit from Calgary-region gateways with car-free park options; Garmisch-Partenkirchen 100 — mainline rail plus local/cogwheel connections; Obergurgl 80 — rail to Ötztal Bahnhof followed by a regular valley bus. Median: 100/100. Route rationale: The 2-day candidates score especially well because the cool base is reached without hiring a car. Banff and Obergurgl remain workable without one, but the final connection takes more planning. Period: Public transport configuration reviewed October 29, 2026. Sources: Seefeld mobility network; Davos rail access; Tromsø airport buses; Banff park transport; Garmisch mountain transport; Obergurgl local mountain access.
Peak-Season Crowd and Booking Pressure5%
60/100
Method: Categorical rubric using official reservation, shuttle, lift and capacity controls because a comparable cross-country accommodation-occupancy series is not available for all seven bases. Raw: Route-score median 60/100. Route scores: Seefeld Plateau 60 — regular peak-season pressure but broad regional transport distribution; Davos 60 — established summer demand without a route-wide reservation gate; Tromsø 60 — concentrated summer demand around a compact city and excursion network; St. Moritz and the Engadin Lakes 40 — high-season demand plus finite mountain-rail capacity and 2026 Corviglia access changes; Banff 20 — Lake Louise and Moraine Lake shuttle reservations commonly sell out and Moraine Lake Road is closed to personal vehicles; Garmisch-Partenkirchen 40 — finite cable-car and cogwheel capacity at the main high-mountain corridors; Obergurgl 80 — smaller high-valley base with fewer system-wide reservation controls, despite a shorter summer lift window. Median: 60/100. Route rationale: Banff carries the clearest booking constraint. Parks Canada requires reservations for its shuttles, releases 60% of seats two days before departure and warns of 30–60 minute waits during high ridership. Period: 2026 operating and reservation conditions reviewed October 29, 2026. Sources: Parks Canada 2026 lake shuttle access; Engadin 2026 operating dates; Zugspitze capacity and schedules; Gurgl 2026 Hohe Mut access.

Weighted total: 100×0.25 + 81×0.20 + 100×0.15 + 100×0.15 + 100×0.10 + 100×0.10 + 60×0.05 = 94.2 → 94/100

Method: Each route has equal weight within a factor. Route values are combined using the median before the seven fixed factor weights are applied. Different national climate products and threshold periods lower comparability quality rather than being presented as one uniform dataset.

Read the Cooler Escape scoring methodology

Two-Day Rail Bases, Three-Day Mountain Towns and a Four-Day High Valley

The stay length reflects transfer friction as much as temperature. A colder place is not automatically a stronger 48-hour choice if most of the first and last day disappears in ground transport.

1

Seefeld Plateau — Cooling Starts at the Train Station

Seefeld sits around 1,182 m, with a July–August planning value near 20.5°C by day and 9.0°C at night. The high plateau matters because no summit excursion is required to obtain the temperature advantage. Rail arrives in the center, while the regional network adds three stations, 77 bus stops and seasonal Wildmoos and Gaistal services.

2 daysDirect railHigh plateau
Time-budget advantage: A late arrival can still produce a genuinely cool first evening rather than a warm gateway-city night.

Seefeld in Tirol on Google Maps

2

Davos — A High Base Before Any Lift Ride

At roughly 1,560 m, Davos has a July–August planning average near 18.4°C maximum and 7.7°C minimum. SBB connections reach Landquart, then RhB trains continue directly into Davos; local buses handle movement within the valley.

The town itself supplies the cool-air benefit. A mountain railway can deepen it, but it is not required to rescue a hot lowland hotel base.

A two-night stay is long enough for one full mountain day while keeping both arrival and departure on the rail network.

Davos on Google Maps

3

Tromsø — Maritime Cooling Without an Altitude Transfer

2 days15.7°C dayAirport buses

Tromsø works differently from the Alpine bases. The July–August planning values are about 15.7°C by day and 8.7°C at night, even though the city sits close to sea level. Routes 24, 26, 40 and 42 connect Tromsø Airport Langnes with city hubs, so there is little ground-transfer penalty after landing.

Wind, low cloud and rain are part of the trade-off. The small day–night range also means the cooling is maritime and persistent rather than a dramatic evening temperature drop.

Tromsø on Google Maps

4

St. Moritz and the Engadin Lakes — High Water Without a Hot Descent

The St. Moritz base is about 1,822 m, while representative high-valley summer values sit near 19.5°C by day and 7.0°C at night. Lake St. Moritz, Lej da Staz and the Upper Engadin chain keep lake access in the same high-elevation system rather than forcing a descent to a warmer basin.

2026 access detail: St. Moritz Dorf–Chantarella and Chantarella–Corviglia were unavailable through most of the summer operating period. St. Moritz Bad–Signal and Celerina–Marguns provided alternate mountain access, while Corviglia–Piz Nair operated from June 27 to October 25.

Three days give enough room to separate a lake day from a higher Corviglia/Piz Nair day without turning the break into a chain of hotel changes.

St. Moritz and the Engadin Lakes on Google Maps

5

Banff — Mild Afternoons, Cold Nights and a Reservation Clock

Banff’s 1991–2020 July–August normals average about 22.3°C for daily maxima and 6.3°C for minima at a town elevation near 1,384 m. The daytime value is warmer than Davos or Tromsø, but the night drop is much stronger.

Three days are more useful than two because the famous lake corridor has its own timing system. In 2026, Parks Canada required reservations for its Lake Louise and Moraine Lake shuttles; Moraine Lake Road remained closed to personal vehicles, and high-ridership waits could reach an hour.

3 days6.3°C nightsShuttle planning

Banff on Google Maps

6

Garmisch-Partenkirchen — Rail Base With a Fast Vertical Shift

The town sits around 708 m, with July–August route-center planning values near 22.0°C by day and 11.0°C at night. The cooling advantage becomes much stronger once the cogwheel railway and cable-car system climbs toward Zugspitze or the Alpspitze sector.

For July–August 2026, the Zugspitze cable car ran 08:00–17:45 and Alpspitzbahn 08:00–17:30. The cogwheel railway links Garmisch-Partenkirchen, Grainau and Eibsee on the same mountain axis.

A third day has practical value here: one poor-visibility mountain day does not have to erase the only high-altitude outing.

Garmisch-Partenkirchen on Google Maps

7

Obergurgl — Sleep Inside the High-Alpine Temperature Band

Obergurgl’s village base is about 1,941 m. July–August planning values near 16.7°C maximum and 6.7°C minimum, together with no 30°C day in the long station record cited for the high valley, make it the lowest-heat Alpine base in this route set.

The cost is arrival time. Rail ends at Ötztal Bahnhof and a valley bus completes the climb, so the destination makes more sense once the break reaches four days.

2026 operating constraint: Hohe Mut Bahn’s lower Section I had restricted service because of construction. Section II and the replacement shuttle were planned daily from July 15 to September 13, with Section I operating on weekends.

Obergurgl on Google Maps

Match the Break Length to the Cooling Pattern

The useful comparison is not simply which base has the lowest temperature. Arrival friction, sleeping temperature and the need for a second transport layer determine how much of a 48–96 hour trip actually feels like a cooler break.

BaseSuggested stayJul–Aug day / nightBase elevationArrival patternMain constraint
Seefeld Plateau2 days20.5°C / 9.0°C~1,182 mDirect rail to high plateauMountain weather can change a hiking plan quickly
Davos2 days18.4°C / 7.7°C~1,560 mRhB rail via LandquartCold evenings require more layering than a lowland city break
Tromsø2 days15.7°C / 8.7°CNear sea levelAirport bus to cityWind, cloud and rain can limit exposed outings
St. Moritz and the Engadin Lakes3 days19.5°C / 7.0°C~1,822 mDirect high-valley rail2026 Corviglia access required alternate lift approaches
Banff3 days22.3°C / 6.3°C~1,384 mScheduled gateway coach/transitLake shuttles can be reservation- and queue-sensitive
Garmisch-Partenkirchen3 days22.0°C / 11.0°C~708 mMainline rail, then mountain railwayHigh-ground value depends on lift visibility and operations
Obergurgl4 days16.7°C / 6.7°C~1,941 mRail to Ötztal, then valley busLonger final transfer and a narrower lift operating window

Why 48 Hours Works Differently in Seefeld, Davos and Tromsø

Seefeld Converts Arrival Time Into Plateau Time

The Karwendel railway reaches a high base rather than a warm gateway below the mountains. Local buses then spread out toward Leutasch, Gaistal and Wildmoos. For a two-day stay, that removes the usual sequence of train, rental car, valley drive and lift before the cooler part of the trip begins.

Davos Keeps the Hotel in the Cool Zone

Davos already sits above 1,500 m, and its July–August daytime planning value is under 19°C. A lift day becomes an optional temperature drop rather than the only way to get one. That makes a poor-weather afternoon less damaging to a short stay.

Tromsø Uses Latitude and Sea Air Instead of Height

The airport-to-center bus network is the main time advantage. There is no long mountain approach, while the low-elevation city still runs around the mid-teens for historical July–August daytime maxima. The trade is more exposure to wind and cloud, not a long final transfer.

What the Third Day Buys in the Engadin, Banff and Garmisch

Three days are useful when the cool base and the main excursion operate on different transport clocks. St. Moritz adds high lakes and mountain railways; Banff adds a reservation-controlled lake corridor; Garmisch adds a weather-sensitive vertical railway day.

Engadin: High Lakes Plus a 2026 Corviglia Detour

Lake access remains close to the 1,800 m elevation band, which keeps both the hotel night and the water day cool. During most of summer 2026, however, the St. Moritz Dorf–Chantarella–Corviglia funicular chain was not the normal route upward. Signal and Celerina alternatives mattered. A spare day reduces the penalty of that changed access pattern.

Banff: The Lake Day Has a Reservation Clock

Parks Canada opened 2026 shuttle reservations on April 15, with 40% of seats released initially and 60% released two days before departure. Moraine Lake Road remained closed to personal vehicles. That makes the third day more than extra sightseeing time: it creates another usable date if shuttle timing or mountain weather does not line up.

Garmisch: One Extra Day Protects the High-Mountain Window

The town is milder than many lowland cities but not as cool as Obergurgl or Davos. Much of its temperature advantage comes from moving upward toward Zugspitze, Alpspitze or Eibsee. Cloud, wind or maintenance can therefore affect the main cool-air outing; a third day provides a real weather buffer.

Why Obergurgl Rewards the Fourth Day

Obergurgl removes the need to commute upward for a cold night: the accommodation base itself is near 1,941 m. That is the attraction and the logistical cost. The final rail-to-bus transfer through the Ötztal consumes more time than arriving in Seefeld, Davos or Tromsø, so a two-night stay spends a larger share of its total hours in transit.

Summer 2026 made the distinction sharper. Hohe Mut Bahn Section I was restricted by construction, while Section II and a replacement shuttle served the upper access on the planned July 15–September 13 operating window. A four-day stay leaves room for both the slower arrival and one weather or lift disruption without surrendering most of the cool-air benefit.

Historical normals describe the climate pattern, not the weather on a particular break. Recheck the short-range forecast and the current mountain-railway, shuttle or road status before committing a limited 2–4 day window.
(function(){ “use strict”;var mapElement=document.getElementById(“ce-map-cooler-short-breaks”); if(!mapElement){return;}var root=mapElement.closest(“.ce-country-page”); if(!root){return;}if(typeof window.L===”undefined”){return;}var scoreCard=root.querySelector(“.ce-score-card”); if(scoreCard){ var factors=Array.prototype.slice.call(scoreCard.querySelectorAll(“.ce-score-factor[data-score][data-weight]”)); if(factors.length===7){ var valid=true; var totalWeight=0; var weighted=0; var formula=[];factors.forEach(function(factor){ var score=Number(factor.getAttribute(“data-score”)); var weight=Number(factor.getAttribute(“data-weight”)); if(!Number.isFinite(score)||score100||!Number.isFinite(weight)||weight<=0){ valid=false; return; } totalWeight+=weight; weighted+=(score*weight)/100; formula.push(String(score)+"×"+(weight/100).toFixed(2));var bar=factor.querySelector(".ce-bar-fill"); if(bar){ var clamped=Math.max(0,Math.min(100,score)); bar.style.setProperty("–ce-bar",clamped+"%"); } });if(valid&&Math.abs(totalWeight-100)<=0.001){ var rounded=Math.round(weighted); var weightedFormula=scoreCard.querySelector(".ce-weighted-formula"); var weightedResult=scoreCard.querySelector(".ce-weighted-result"); var scoreNumber=scoreCard.querySelector(".ce-score-number"); var scoreCircle=scoreCard.querySelector(".ce-score-circle"); var scoreHeading=scoreCard.querySelector("h2");if(weightedFormula){weightedFormula.textContent=formula.join(" + ");} if(weightedResult){weightedResult.textContent=weighted.toFixed(1)+" → "+rounded+"/100";} if(scoreNumber){scoreNumber.textContent=String(rounded);} if(scoreCircle){ scoreCircle.style.setProperty("–ce-score",rounded+"%"); scoreCircle.setAttribute("role","img"); scoreCircle.setAttribute("aria-label",(scoreHeading?scoreHeading.textContent.trim():"Cooler escape suitability score")+": "+rounded+" out of 100"); } scoreCard.setAttribute("data-overall-score",String(rounded)); } } }if(!mapElement||mapElement.dataset.ready==="1"||mapElement._leaflet_id){return;} mapElement.dataset.ready="1";var routes=[ {id:"route-seefeld",n:1,name:"Seefeld Plateau",region:"Tyrol, Austria",lat:47.3305,lng:11.1879,map:"https://www.google.com/maps/search/?api=1&query=Seefeld%20in%20Tirol%20Austria"}, {id:"route-davos",n:2,name:"Davos",region:"Graubünden, Switzerland",lat:46.8027,lng:9.8360,map:"https://www.google.com/maps/search/?api=1&query=Davos%20Graubunden%20Switzerland"}, {id:"route-tromso",n:3,name:"Tromsø",region:"Troms, Norway",lat:69.6492,lng:18.9553,map:"https://www.google.com/maps/search/?api=1&query=Tromso%20Troms%20Norway"}, {id:"route-st-moritz",n:4,name:"St. Moritz and the Engadin Lakes",region:"Graubünden, Switzerland",lat:46.4908,lng:9.8355,map:"https://www.google.com/maps/search/?api=1&query=St%20Moritz%20Engadin%20Switzerland"}, {id:"route-banff",n:5,name:"Banff",region:"Alberta, Canada",lat:51.1784,lng:-115.5708,map:"https://www.google.com/maps/search/?api=1&query=Banff%20Alberta%20Canada"}, {id:"route-garmisch",n:6,name:"Garmisch-Partenkirchen",region:"Bavaria, Germany",lat:47.4921,lng:11.0955,map:"https://www.google.com/maps/search/?api=1&query=Garmisch-Partenkirchen%20Bavaria%20Germany"}, {id:"route-obergurgl",n:7,name:"Obergurgl",region:"Tyrol, Austria",lat:46.8700,lng:11.0273,map:"https://www.google.com/maps/search/?api=1&query=Obergurgl%20Tyrol%20Austria"} ];var map=window.L.map(mapElement,{scrollWheelZoom:false}); map.attributionControl.setPrefix(false); window.L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:'© OpenStreetMap‘}).addTo(map);var bounds=window.L.latLngBounds([]); var markers={};routes.forEach(function(x){ var icon=window.L.divIcon({className:”ce-marker”,html:”“+x.n+”“,iconSize:[34,34],iconAnchor:[17,17]}); var marker=window.L.marker([x.lat,x.lng],{icon:icon}).addTo(map); marker.bindPopup(‘
‘+x.n+’. ‘+x.name+’
‘+x.region+’

Planning marker, not an exact viewpoint or legal parking point.

View Details Below
‘); marker.on(“click”,function(){marker.openPopup();}); markers[x.id]=marker; bounds.extend([x.lat,x.lng]); });if(routes.length===1){ map.setView([routes[0].lat,routes[0].lng],8); }else{ map.fitBounds(bounds,{padding:[30,30]}); }function highlight(id){ var cards=root.querySelectorAll(“.ce-route-card”); Array.prototype.forEach.call(cards,function(card){card.classList.remove(“is-highlighted”);}); var target=root.querySelector(“#”+id); if(!target){return;} target.classList.add(“is-highlighted”); target.scrollIntoView({behavior:”smooth”,block:”start”}); window.setTimeout(function(){target.classList.remove(“is-highlighted”);},1800); }root.addEventListener(“click”,function(e){ var detail=e.target.closest(“.ce-popup-detail”); if(detail){ e.preventDefault(); highlight(detail.getAttribute(“href”).replace(“#”,””)); return; }var item=e.target.closest(“.ce-map-item[data-route]”); if(item){ var routeId=item.getAttribute(“data-route”); if(markers[routeId]){ markers[routeId].openPopup(); map.panTo(markers[routeId].getLatLng()); } } }); })();