@@ -4388,111 +4754,91 @@
Copyable Scandi ECCV trip plan
});
const scenarios = {
- reverse: {
- dates: "Sep 3–16 · about 8 school days",
- title: "Stockholm, ECCV, Billund, Copenhagen",
- summary: "Three Stockholm nights, six Malmö nights, two Billund nights, and one Copenhagen night before the nonstop home.",
- verdictTitle: "Locked framework",
- verdictCopy: "The booked flights, Stockholm stay, and September 7–13 Baltzar stay protect the conference and preserve the nonstop flight home.",
+ vejleHub: {
+ dates: "Sep 3–16 · Denmark road trip Sep 12–15",
+ title: "Vejle hub, then Copenhagen Airport",
+ summary: "Three nights in one useful Jutland base put LEGOLAND 30 minutes away and Aarhus within day-trip range; one airport night protects SK935.",
+ verdictTitle: "Recommended · 3+1",
+ verdictCopy: "Only two hotels, a full LEGOLAND day, flexible access to Aarhus or Jelling, and no rental return on flight morning.",
route: [
["Stockholm", "Sep 4–7", "3 nights"],
- ["Malmö", "Sep 7–13", "Baltzar + ECCV"],
- ["Billund", "Sep 13–15", "2 nights"],
- ["Copenhagen → SFO", "Sep 15–16", "SK935 nonstop"]
+ ["Malmö", "Sep 7–12", "Baltzar + ECCV"],
+ ["Vejle", "Sep 12–15", "3-night road-trip hub"],
+ ["CPH Airport → SFO", "Sep 15–16", "return car + SK935"]
],
days: [
- ["Thu–Fri · Sep 3–4", "SK936 + SK1426", "Confirmed SFO → CPH → ARN itinerary, with SK1426 at 13:50–15:05 and a 1h50 protected connection."],
- ["Fri–Mon · Sep 4–7", "Stockholm", "Gamla Stan arrival walk, Vasa + Djurgården, then one flexible family day."],
- ["Mon · Sep 7", "Train to Malmö", "Direct X 2000 takes about 4½ hours; current family fares are roughly SEK 2,200–3,500."],
- ["Tue–Sat · Sep 8–12", "ECCV", "Direct Malmö C → Hyllie commute; sleep in Malmö after the final program."],
- ["Sun · Sep 13", "Malmö → LEGOLAND", "Transfer early and use a partial park day; official hours are 10:00–18:00."],
- ["Mon · Sep 14", "LEGO House", "Book a full 10:00–16:00 visit."],
- ["Tue–Wed · Sep 15–16", "Copenhagen + SK935", "Move east Tuesday, sleep in Copenhagen, and fly nonstop Wednesday."]
+ ["Sat · Sep 12", "ECCV → CPH rental → Vejle", "Check out, store bags, attend the last essential sessions, take the direct train to Copenhagen Airport, and drive about 2¼ hours to Vejle."],
+ ["Sun · Sep 13", "Full LEGOLAND day", "Drive about 30 minutes each way and use the complete 10:00–18:00 park window without changing hotels."],
+ ["Mon · Sep 14", "Aarhus—or Jelling + Givskud", "Choose one city-scale museum day or a closer Viking-history and zoo day based on weather and energy."],
+ ["Tue · Sep 15", "Funen → return car", "Choose Egeskov, Odense, or a direct drive; return the car at CPH Airport and sleep beside the terminal."],
+ ["Wed · Sep 16", "SK935 nonstop", "Walk to check-in for the confirmed 12:45 departure with no road or rental task remaining."]
]
},
- posterSafe: {
- dates: "Sep 3–16 · about 8 school days",
- title: "Leave after ECCV for three Billund nights",
- summary: "This variation checks out of the Malmö hotel on September 12, transfers west after the conference, and creates two full LEGO days.",
- verdictTitle: "Verdict: more Billund, less calm",
- verdictCopy: "It buys a full third night and avoids a partial park day, but restores the Saturday-evening transfer you prefer to avoid.",
+ aarhusCph: {
+ dates: "Sep 3–16 · Denmark road trip Sep 12–14",
+ title: "Two Aarhus nights, then two Copenhagen nights",
+ summary: "Prioritize Denmark’s second city and a final car-free Copenhagen day, accepting a long Sunday commute to LEGOLAND.",
+ verdictTitle: "Best for city time",
+ verdictCopy: "Aarhus gets real evenings and Copenhagen gets a full day, but LEGOLAND is about 1½ hours each way and the family still changes hotels once.",
route: [
["Stockholm", "Sep 4–7", "3 nights"],
- ["Malmö", "Sep 7–12", "5 nights"],
- ["Billund", "Sep 12–15", "3 nights"],
- ["Copenhagen → SFO", "Sep 15–16", "SK935 nonstop"]
+ ["Malmö", "Sep 7–12", "Baltzar + ECCV"],
+ ["Aarhus", "Sep 12–14", "2 nights + LEGOLAND day trip"],
+ ["Copenhagen", "Sep 14–16", "2 nights · return car Sep 14"]
],
days: [
- ["Thu–Mon · Sep 3–7", "Stockholm arrival", "Use SK1426 and the same three-night Stockholm plan."],
- ["Mon–Sat · Sep 7–12", "Malmö + ECCV", "Check out Saturday and store luggage at the hotel during the final program."],
- ["Sat · Sep 12", "Malmö → Billund", "Transfer after ECCV and sleep in Billund."],
- ["Sun–Mon · Sep 13–14", "Two full LEGO days", "Use LEGO House and LEGOLAND in either order based on tickets and weather."],
- ["Tue · Sep 15", "Copenhagen", "Both LEGO anchors are closed; transfer east and sleep near the airport route."],
- ["Wed · Sep 16", "SK935", "Nonstop Copenhagen → San Francisco."],
- ["Tradeoff", "Late transfer", "This is the better choice only if two full attraction days matter more than a relaxed final ECCV evening."]
+ ["Sat · Sep 12", "CPH rental → Aarhus", "Collect the car after ECCV and drive directly to Aarhus."],
+ ["Sun · Sep 13", "LEGOLAND day trip", "Budget about 1½ hours each way; leave Aarhus early and return after the park."],
+ ["Mon · Sep 14", "Aarhus → Copenhagen", "Use Den Gamle By in the morning only if timing works, then drive east and return the car."],
+ ["Tue · Sep 15", "Copenhagen day", "Enjoy a familiar, car-free city day and keep the flight-eve logistics simple."],
+ ["Tradeoff", "Longer park day", "Choose this only if Aarhus and Copenhagen matter more than road-trip efficiency."]
]
},
- billundLate: {
- dates: "Sep 3–16 · about 8 school days",
- title: "Malmö through Sunday, then three Billund nights",
- summary: "This preserves a relaxed ECCV finish and three Billund nights, but leaves the family in Billund on the morning of SK935.",
- verdictTitle: "Verdict: not recommended",
- verdictCopy: "The final transfer is about three hours before airport buffer; it undermines the entire reason for choosing the nonstop.",
+ legoMax: {
+ dates: "Sep 3–16 · Denmark road trip Sep 12–15",
+ title: "Two Billund nights, one Aarhus night, one airport night",
+ summary: "Keep both LEGO anchors and still sample Aarhus, at the cost of three hotels in four nights.",
+ verdictTitle: "Maximum LEGO",
+ verdictCopy: "LEGOLAND and LEGO House both fit cleanly, but repeated packing makes this the least restful option.",
route: [
["Stockholm", "Sep 4–7", "3 nights"],
- ["Malmö", "Sep 7–13", "6 nights"],
- ["Billund", "Sep 13–16", "3 nights"],
- ["CPH → SFO", "Sep 16", "Early transfer"]
+ ["Malmö", "Sep 7–12", "Baltzar + ECCV"],
+ ["Billund → Aarhus", "Sep 12–15", "2 nights + 1 night"],
+ ["CPH Airport", "Sep 15–16", "return car + SK935"]
],
days: [
- ["Thu–Mon · Sep 3–7", "Stockholm arrival", "Same protected SAS outbound and three-night Stockholm plan."],
- ["Mon–Sun · Sep 7–13", "Malmö + ECCV", "No pressure to leave after Saturday’s program."],
- ["Sun · Sep 13", "Billund arrival", "LEGO House may be partial depending on departure time."],
- ["Mon · Sep 14", "LEGOLAND", "Use the full official operating day."],
- ["Tue · Sep 15", "Non-LEGO day", "Lalandia, WOW PARK, Jelling, or quiet Billund; both LEGO anchors are closed."],
- ["Wed · Sep 16", "Pre-dawn transfer", "Billund → CPH before SK935; high consequence if road or rail is disrupted."],
- ["Better fix", "Sleep Copenhagen", "Drop one Billund night or depart Malmö Saturday to regain a protected final night."]
+ ["Sat · Sep 12", "CPH rental → Billund", "Drive to Billund after ECCV and stay beside the attractions."],
+ ["Sun · Sep 13", "LEGOLAND", "Use the complete park day and return to the same Billund room."],
+ ["Mon · Sep 14", "LEGO House → Aarhus", "Visit LEGO House, then drive about 70 minutes and check into Aarhus."],
+ ["Tue · Sep 15", "Aarhus → CPH Airport", "Choose one short Aarhus anchor, cross Denmark, return the car, and sleep at the airport."],
+ ["Tradeoff", "Three hotels", "Choose this only if LEGO House clearly outranks a slower Jutland day."]
]
- }
- };
-
- Object.assign(scenarios, {
- aarhusLoop: {
- dates: "Sep 3–16 · western loop Sep 13–15",
- title: "LEGOLAND, two Aarhus nights, CPH Airport",
- summary: "Fulfill the Sunday LEGOLAND promise, give Aarhus a complete family day, and finish with a protected airport night.",
- verdictTitle: "Recommended",
- verdictCopy: "This is the best balance of novelty, hotel stability, and flight protection; the deliberate sacrifice is LEGO House.",
- route: [["Stockholm", "Sep 4–7", "3 nights"], ["Malmö", "Sep 7–13", "Baltzar + ECCV"], ["LEGOLAND → Aarhus", "Sep 13–15", "2 Aarhus nights"], ["CPH Airport → SFO", "Sep 15–16", "return car + SK935"]],
- days: [["Sep 3–13", "Booked framework", "Confirmed SAS travel, Stockholm, direct rail to Malmö, and six nights at Baltzar through the full ECCV program."], ["Sun · Sep 13", "CPH rental → LEGOLAND → Aarhus", "Leave Malmö early, collect the car at CPH Airport around 08:00, use the park until 18:00, then drive about 70 minutes to Aarhus."], ["Mon · Sep 14", "Aarhus family day", "Choose Den Gamle By or Moesgaard as the anchor; add Dokk1 and its free playground only if energy remains."], ["Tue · Sep 15", "Funen → CPH Airport", "Choose Odense, Egeskov, or a direct drive; return the car Tuesday evening and sleep beside Terminal 3."], ["Wed · Sep 16", "SK935 nonstop", "Walk to the terminal for the confirmed 12:45 departure without a rental-car task remaining."]]
},
- legoHouse: {
- dates: "Sep 3–16 · western loop Sep 13–15",
- title: "Billund, LEGO House, Aarhus, CPH Airport",
- summary: "Use one night in each place to keep both LEGO anchors and still sample Aarhus before the flight.",
- verdictTitle: "Maximum LEGO, maximum churn",
- verdictCopy: "It delivers the richest LEGO finish but creates three one-night stays in a row and reduces Aarhus to an evening plus one partial day.",
- route: [["Stockholm", "Sep 4–7", "3 nights"], ["Malmö", "Sep 7–13", "Baltzar + ECCV"], ["Billund → Aarhus", "Sep 13–15", "1 night each"], ["CPH Airport → SFO", "Sep 15–16", "1 night"]],
- days: [["Sun · Sep 13", "LEGOLAND + Billund", "Drive from CPH Airport, use the Sunday park window, and sleep at Hotel LEGOLAND or The Lodge."], ["Mon · Sep 14", "LEGO House → Aarhus", "Visit LEGO House 10:00–16:00, then drive about 70 minutes and check into Aarhus."], ["Tue · Sep 15", "Aarhus → CPH Airport", "Choose one Aarhus anchor, leave by mid-afternoon, return the car, and sleep at the airport."], ["Tradeoff", "Every night is a move", "Choose this only if LEGO House matters more than an unhurried Aarhus day and two nights in one room."]]
- },
- billundCalm: {
- dates: "Sep 3–16 · western loop Sep 13–15",
- title: "Two Billund nights, Funen, CPH Airport",
- summary: "Keep the original LEGO-centered base, then use the car to add one distinctive stop while crossing Denmark Tuesday.",
- verdictTitle: "Calmest logistics",
- verdictCopy: "Sunday ends early and only Tuesday is a moving day, but Aarhus drops out of the trip.",
- route: [["Stockholm", "Sep 4–7", "3 nights"], ["Malmö", "Sep 7–13", "Baltzar + ECCV"], ["Billund", "Sep 13–15", "2 nights"], ["Funen → CPH Airport", "Sep 15–16", "1 night"]],
- days: [["Sun · Sep 13", "LEGOLAND + Billund", "Drive from CPH Airport, visit the park, and sleep beside the attraction."], ["Mon · Sep 14", "LEGO House", "Use the full 10:00–16:00 indoor day and keep the same hotel."], ["Tue · Sep 15", "Egeskov or Odense", "Choose one Funen stop on the eastbound drive, return the car, and sleep at CPH Airport."], ["Tradeoff", "No Aarhus", "This is the recovery-friendly answer if the conference week leaves the family short on energy."]]
+ vejleFour: {
+ dates: "Sep 3–16 · rental Sep 12–16",
+ title: "Four nights in Vejle",
+ summary: "Unpack once and use Vejle for every western-Denmark day, then drive to the airport on departure morning.",
+ verdictTitle: "Simplest lodging · risky finish",
+ verdictCopy: "One room is appealing, but the final morning carries a 2¼-hour drive, refueling, car return, luggage handling, and check-in before SK935.",
+ route: [
+ ["Stockholm", "Sep 4–7", "3 nights"],
+ ["Malmö", "Sep 7–12", "Baltzar + ECCV"],
+ ["Vejle", "Sep 12–16", "4-night single base"],
+ ["CPH → SFO", "Sep 16", "drive + return + SK935"]
+ ],
+ days: [
+ ["Sat–Tue · Sep 12–15", "One Vejle room", "LEGOLAND Sunday, Aarhus or Jelling Monday, and a flexible local Tuesday."],
+ ["Wed · Sep 16", "Early drive to CPH", "Leave around 06:45, cross the Great Belt, refuel, return the car, and reach airline check-in."],
+ ["Tradeoff", "No hotel move", "The saved packing does not offset the flight-day consequence of a crash, bridge delay, queue, or rental dispute."],
+ ["Better fix", "Return Sep 15", "Use the 3+1 Vejle pattern and make the final airport night part of the protection for the nonstop."]
+ ]
}
- });
- delete scenarios.reverse;
- delete scenarios.posterSafe;
- delete scenarios.billundLate;
+ };
const scenarioButtons = Array.from(document.querySelectorAll("[data-scenario]"));
const scenarioRoute = document.getElementById("scenarioRoute");
const scenarioDays = document.getElementById("scenarioDays");
- let activeScenario = "aarhusLoop";
+ let activeScenario = "vejleHub";
function renderScenario(key) {
const scenario = scenarios[key];
@@ -4519,7 +4865,7 @@ Copyable Scandi ECCV trip plan
}
scenarioButtons.forEach((button) => button.addEventListener("click", () => renderScenario(button.dataset.scenario)));
- renderScenario("aarhusLoop");
+ renderScenario("vejleHub");
const filterButtons = Array.from(document.querySelectorAll("[data-filter]"));
const hotelCards = Array.from(document.querySelectorAll(".hotel-card[data-area]"));
@@ -4590,7 +4936,7 @@ Copyable Scandi ECCV trip plan
• ECCV workshops/tutorials: September 8–9
• ECCV main conference: September 10–12
• Malmö: September 7–13
-• Denmark road trip: September 13–15 · LEGOLAND, Aarhus, and optional Funen stop
+• Denmark road trip: September 12–15 · three-night Vejle hub, full LEGOLAND day, and optional Aarhus/Jelling/Funen stops
• Copenhagen Airport final night: September 15
• Fly home nonstop: Wednesday, September 16 on SK935
• Family: four travelers with two young children
@@ -4620,15 +4966,16 @@ Copyable Scandi ECCV trip plan
• Live family fares checked August 9 ranged from SEK 2,196 to SEK 2,978 for early direct trains
• Home Hotel Baltzar Junior Suite is booked September 7–13; confirm the sofa bed is prepared for both children
• Baltzar → ECCV is about 22–28 minutes door to venue via Malmö C and Hyllie
-• Sleep in Malmö after ECCV on September 12; take the direct train to Copenhagen Airport early September 13
-• Collect a reserved car at CPH Airport around 08:00; airport desks have much better Sunday hours than central Copenhagen branches
-• Sunday September 13: drive about 2h50 to LEGOLAND, visit during the 10:00–18:00 opening window, then drive about 70 minutes to Aarhus
-• Sleep in Aarhus September 13–15; use Den Gamle By or Moesgaard as Monday's anchor, with Dokk1 as an easy family release valve
-• Tuesday September 15: choose Odense, Egeskov, or a direct drive east; return the car at CPH Airport and sleep beside Terminal 3
-• Aarhus first choice: Comwell Aarhus Quadruple; Scandic Aarhus City is the walkable backup and Scandic The Mayor the space splurge
+• Check out September 12, store bags during essential ECCV sessions, then take the direct train to Copenhagen Airport for the rental and drive about 2¼ hours to Vejle
+• Baltzar is paid through September 13; leaving September 12 may forfeit the last night unless the hotel grants a change
+• Sleep in Vejle September 12–15; The Note is the first hotel comparison, followed by Munkebjerg, CABINN, and BB-Hotel Vejle Park
+• Sunday September 13: drive about 30 minutes to LEGOLAND and use the complete 10:00–18:00 park window
+• Monday September 14: choose Aarhus + Den Gamle By or a closer Jelling + Givskud/Økolariet day based on energy and weather
+• Tuesday September 15: choose Egeskov, Odense, or a direct drive east; return the car at CPH Airport and sleep beside Terminal 3
• Airport first choice: Clarion Copenhagen Airport Family Room for maximum ease; compare the two-bed Family Room at Comfort Copenhagen Airport
-• Transport verdict: rail through Stockholm and Malmö, then a same-location CPH Airport rental September 13–15; reserve two child restraints and budget two Great Belt tolls
-• Book now: direct SJ Stockholm → Malmö, the CPH Airport rental, two Aarhus nights, the final airport night, and LEGOLAND September 13; local Öresund trains remain flexible
+• Transport verdict: rail through Stockholm and Malmö, then a same-location CPH Airport rental September 12–15; return September 15, not flight morning
+• Toll budget: Great Belt twice at DKK 410 with eligible automatic payment or DKK 470 by card/cash; Little Belt is free; train-to-CPH pickup avoids the Øresund car toll
+• Book now: direct SJ Stockholm → Malmö, the CPH Airport rental, three Vejle nights, the final airport night, and LEGOLAND September 13; local Öresund trains remain flexible
ECCV ATTENDANCE PLAN
• Sep 8 primary: Multimodal Digital Agents, full day
@@ -4657,10 +5004,10 @@ Copyable Scandi ECCV trip plan
OPEN DECISIONS
• Preferred September 7 Stockholm → Malmö departure and live fare
• Confirm Baltzar sofa-bed preparation and any property-collected mandatory fees before Sep 5
-• Aarhus-loop versus LEGO House: giving LEGO House priority would create three consecutive one-night stays
-• Exact Aarhus and Copenhagen Airport room types, live rates, and cancellation terms
-• Rental company, car class, child-seat details, toll handling, and September 13–15 price
-• Tuesday choice: Odense, Egeskov, or a direct low-energy drive to Copenhagen Airport
+• Exact Vejle and Copenhagen Airport room types, live rates, bedding, parking, and cancellation terms
+• Rental company, car class, child-seat details, Great Belt toll handling, and September 12–15 price
+• Monday choice: Aarhus or the lower-energy Jelling + Givskud/Økolariet combination
+• Tuesday choice: Egeskov, Odense, or a direct low-energy drive to Copenhagen Airport
• Preferred direct SJ Stockholm → Malmö departure and live fare
• Exact ECCV poster assignment and main-program selections
@@ -4668,7 +5015,7 @@ Copyable Scandi ECCV trip plan
${selectedChecks.length ? selectedChecks.map((item) => `• ${item}`).join("\n") : "• None yet"}
RESEARCH CHECKED
-August 18, 2026. Flights, Scandic Continental, and Home Hotel Baltzar are confirmed. The Denmark road-loop plan, official attraction hours, CPH rental logistics, child-restraint rule, Aarhus family activities, and hotel room capacities were refreshed from primary sources; live room and car inventory or rates are not asserted.`;
+September 1, 2026. Flights, Scandic Continental, and Home Hotel Baltzar are confirmed. The four-night Denmark alternatives, Vejle family bases, attraction hours, CPH rental logistics, and 2026 bridge tolls were refreshed from primary sources; live room and car inventory or rates are not asserted.`;
}
function openExportModal() {
@@ -4722,7 +5069,8 @@ Copyable Scandi ECCV trip plan
};
const mapLocations = [
{ name: "Billund", note: "LEGOLAND stop", coordinates: [9.1157, 55.7284], offset: [-18, -24], mobileOffset: [12, -20] },
- { name: "Aarhus", note: "2-night family base", coordinates: [10.2039, 56.1629], offset: [-22, -28], mobileOffset: [18, -24] },
+ { name: "Vejle", note: "3-night road-trip hub", coordinates: [9.5357, 55.7113], offset: [18, 31], mobileOffset: [18, 31] },
+ { name: "Aarhus", note: "day-trip option", coordinates: [10.2039, 56.1629], offset: [-22, -28], mobileOffset: [18, -24] },
{ name: "Copenhagen / CPH", note: "rental loop + SK935", coordinates: [12.6508, 55.6181], offset: [-62, 33], mobileOffset: [-12, 44] },
{ name: "Malmö / Hyllie", note: "Baltzar + ECCV", coordinates: [12.9764, 55.5631], offset: [54, 28], mobileOffset: [22, 38] },
{ name: "Lund", note: "easy family day", coordinates: [13.1870, 55.7047], offset: [50, -30], mobileOffset: [22, -28] },
@@ -4730,7 +5078,7 @@ Copyable Scandi ECCV trip plan
];
const coreRoute = {
type: "LineString",
- coordinates: [[12.9764, 55.5631], [12.6508, 55.6181], [9.1157, 55.7284], [10.2039, 56.1629], [12.6508, 55.6181]]
+ coordinates: [[12.9764, 55.5631], [12.6508, 55.6181], [9.5357, 55.7113], [9.1157, 55.7284], [9.5357, 55.7113], [10.2039, 56.1629], [9.5357, 55.7113], [10.3883, 55.4038], [12.6508, 55.6181]]
};
const stockholmRoute = {
type: "LineString",
@@ -4741,6 +5089,103 @@ Copyable Scandi ECCV trip plan
coordinates: [[12.6508, 55.6181], [17.9186, 59.6519]]
};
+ const decisionMapElement = document.getElementById("denmarkDecisionMap");
+ const decisionMapFrame = {
+ type: "MultiPoint",
+ coordinates: [[8.0, 54.8], [13.25, 54.8], [13.25, 56.55], [8.0, 56.55]]
+ };
+ const decisionMapPlaces = {
+ cph: { name: "CPH Airport", coordinates: [12.6508, 55.6181], offset: [-10, 27] },
+ vejle: { name: "Vejle", coordinates: [9.5357, 55.7113], offset: [11, 25] },
+ billund: { name: "LEGOLAND", coordinates: [9.1157, 55.7284], offset: [-8, -19] },
+ aarhus: { name: "Aarhus", coordinates: [10.2039, 56.1629], offset: [9, -16] },
+ odense: { name: "Funen", coordinates: [10.3883, 55.4038], offset: [10, 23] }
+ };
+ const decisionMapPlans = {
+ vejleHub: {
+ title: "Vejle hub + airport night",
+ note: "CPH Airport → Vejle, with LEGOLAND and Aarhus as day trips, then east through Funen.",
+ returnText: "September 15 · before the airport hotel",
+ tollText: "Two Great Belt crossings · Little Belt is free",
+ route: ["cph", "vejle", "billund", "vejle", "aarhus", "vejle", "odense", "cph"],
+ stops: ["cph", "vejle", "billund", "aarhus", "odense"]
+ },
+ aarhusCph: {
+ title: "Aarhus 2 + Copenhagen 2",
+ note: "Drive CPH → Aarhus, commute to LEGOLAND Sunday, then return east for two car-free Copenhagen nights.",
+ returnText: "September 14 · before two Copenhagen nights",
+ tollText: "Two Great Belt crossings · Little Belt is free",
+ route: ["cph", "aarhus", "billund", "aarhus", "cph"],
+ stops: ["cph", "aarhus", "billund"]
+ },
+ legoMax: {
+ title: "Billund 2 + Aarhus 1 + airport 1",
+ note: "Drive to Billund for both LEGO anchors, move north to Aarhus, then cross Denmark to the airport.",
+ returnText: "September 15 · before the airport hotel",
+ tollText: "Two Great Belt crossings · Little Belt is free",
+ route: ["cph", "billund", "aarhus", "cph"],
+ stops: ["cph", "billund", "aarhus"]
+ },
+ vejleFour: {
+ title: "Four nights in Vejle",
+ note: "Use one Vejle base for LEGOLAND and Aarhus, then make the full eastbound drive on flight morning.",
+ returnText: "September 16 · before SK935 · not recommended",
+ tollText: "Two Great Belt crossings · second is flight morning",
+ route: ["cph", "vejle", "billund", "vejle", "aarhus", "vejle", "cph"],
+ stops: ["cph", "vejle", "billund", "aarhus"]
+ }
+ };
+ let activeDecisionMap = "vejleHub";
+
+ function drawDecisionMap(key = activeDecisionMap) {
+ if (!decisionMapElement) return;
+ activeDecisionMap = decisionMapPlans[key] ? key : "vejleHub";
+ const plan = decisionMapPlans[activeDecisionMap];
+ const width = Math.max(320, decisionMapElement.clientWidth || 720);
+ const height = Math.max(400, decisionMapElement.clientHeight || 440);
+ const projection = d3.geoMercator().fitExtent([[24, 24], [width - 24, height - 24]], decisionMapFrame);
+ const path = d3.geoPath(projection);
+ const svg = d3.select(decisionMapElement);
+ svg.selectAll("*").remove();
+ svg.attr("viewBox", `0 0 ${width} ${height}`);
+
+ svg.append("g")
+ .selectAll("path")
+ .data(visibleCountries.filter((country) => ["DNK", "SWE"].includes(country.properties.id)))
+ .join("path")
+ .attr("class", (country) => `option-map-country${country.properties.id === "DNK" ? " is-focus" : ""}`)
+ .attr("d", path);
+
+ svg.append("path")
+ .datum({ type: "LineString", coordinates: plan.route.map((place) => decisionMapPlaces[place].coordinates) })
+ .attr("class", "option-map-route")
+ .attr("d", path);
+
+ const markers = svg.append("g")
+ .selectAll("g")
+ .data(plan.stops.map((place) => decisionMapPlaces[place]))
+ .join("g")
+ .attr("transform", (place) => `translate(${projection(place.coordinates).join(",")})`);
+
+ markers.append("circle").attr("class", "option-map-marker-halo").attr("r", 8);
+ markers.append("circle").attr("class", "option-map-marker-core").attr("r", 4.5);
+ markers.append("text")
+ .attr("class", "option-map-label")
+ .attr("x", (place) => place.offset[0])
+ .attr("y", (place) => place.offset[1])
+ .attr("text-anchor", (place) => place.offset[0] < 0 ? "end" : "start")
+ .text((place) => place.name);
+
+ document.getElementById("decisionMapTitle").textContent = plan.title;
+ document.getElementById("decisionMapNote").textContent = plan.note;
+ document.getElementById("decisionMapReturn").textContent = plan.returnText;
+ document.getElementById("decisionMapToll").textContent = plan.tollText;
+ }
+
+ document.querySelectorAll("[data-scenario]").forEach((button) => {
+ button.addEventListener("click", () => drawDecisionMap(button.dataset.scenario));
+ });
+
function drawNordicMap() {
const width = Math.max(320, mapElement.clientWidth || 800);
const height = Math.max(420, mapElement.clientHeight || 620);
@@ -4811,8 +5256,11 @@ Copyable Scandi ECCV trip plan
}
drawNordicMap();
+ drawDecisionMap("vejleHub");
const mapObserver = new ResizeObserver(drawNordicMap);
mapObserver.observe(mapElement);
+ const decisionMapObserver = new ResizeObserver(() => drawDecisionMap(activeDecisionMap));
+ decisionMapObserver.observe(decisionMapElement);