mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 16:33:16 +00:00
5990792e0b
The vector map draws a hand-framed view as given, widened to the frame's proportions as the fit always was, and the tile grid takes the same extent. A view east of 180 lifts the stops, tracks, roads and outlines west of it by a turn, so Fiji is one map rather than two halves of the world. The fit, the bows and the route's extent move to travel/mapFit.ts, which takes TravelElements.tsx from 1559 to 1332 lines. Hawaii and other small islands vanished because the bundled outlines drop every ring below 1.2 % of the mainland (#3056). A finer set, built from the same admin-0 boundaries by scripts/build-country-detail.mjs, is served as one static file per country under country-detail/ and loaded when a map's route (or its own view) is regional, or when coastDetail asks for it; the coarse outline stays the fallback offline and until a file arrives. The decision reads the route, not the fitted window, since fitted to its countries a Hawaii trip falls back to the whole United States. The export waits for the files before the sheets render, the trip PDF's outline map loads them for a regional route, and the service worker keeps them once fetched without precaching them.
27 lines
1.1 KiB
JSON
27 lines
1.1 KiB
JSON
{
|
|
"e2e/help/fixtures.ts": 2291,
|
|
"src/api/client.ts": 1873,
|
|
"src/components/Admin/AdminPluginsPanel.test.tsx": 2704,
|
|
"src/components/Admin/AdminPluginsPanel.tsx": 1265,
|
|
"src/components/Budget/CostsPanel.test.tsx": 2725,
|
|
"src/components/Budget/CostsPanel.tsx": 1607,
|
|
"src/components/Map/MapView.tsx": 1191,
|
|
"src/components/Map/MapViewGL.test.tsx": 2919,
|
|
"src/components/Map/MapViewGL.tsx": 2083,
|
|
"src/components/Planner/DayDetailPanel.test.tsx": 2331,
|
|
"src/components/Planner/DayPlanSidebar.test.tsx": 5349,
|
|
"src/components/Planner/DayPlanSidebar.tsx": 2908,
|
|
"src/components/Planner/PlaceFormModal.test.tsx": 2836,
|
|
"src/components/Planner/PlaceInspector.tsx": 1030,
|
|
"src/components/Studio/TravelElements.tsx": 1332,
|
|
"src/components/Studio/countryShapes.ts": 2595,
|
|
"src/index.css": 1636,
|
|
"src/mobile/screens/admin/MAdminPluginsPanel.tsx": 1503,
|
|
"src/pages/JourneyDetailPage.test.tsx": 3886,
|
|
"src/pages/LoginPage.tsx": 1273,
|
|
"src/pages/TripPlannerPage.tsx": 1127,
|
|
"src/pages/tripPlanner/useTripPlanner.roadtrip.test.tsx": 3518,
|
|
"src/pages/tripPlanner/useTripPlanner.test.tsx": 3267,
|
|
"src/styles/studio.css": 1918
|
|
}
|