From 235b0de337f2d0719a32ea789c575c2954c86154 Mon Sep 17 00:00:00 2001 From: Jace Browning Date: Sun, 31 May 2026 19:28:13 -0400 Subject: [PATCH] Show the current location on the map --- data/config.json | 3 +- index.html | 8 + src/bootstrap.mjs | 17 ++- src/shared/data-loader.mjs | 54 +------ src/visit/route-planning.mjs | 10 +- src/visit/visit.css | 27 +++- src/visit/visit.mjs | 280 ++++++++++++++++++++++++++++++++++- tests/route-planning.spec.js | 6 +- tests/visit.spec.js | 28 ++++ 9 files changed, 367 insertions(+), 66 deletions(-) diff --git a/data/config.json b/data/config.json index 9d425d5..b3cddfe 100644 --- a/data/config.json +++ b/data/config.json @@ -41,7 +41,8 @@ "parkingRoutePace": { "walkMinutesPerMile": 24, "dashMilesPerHour": 12, - "dashBoardingWaitMinutes": 5 + "dashBoardingWaitMinutes": 5, + "driveMilesPerHour": 25 }, "linkTexts": { "viewTransitRoute": "View transit route on Google Maps", diff --git a/index.html b/index.html index 4d1340e..6b83fe6 100644 --- a/index.html +++ b/index.html @@ -295,6 +295,14 @@

How each mode works

+