This website requires JavaScript.
Explore
Help
Sign In
randy
/
maptool
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
e7f3b91337be9032db1ead537e6e08f6eea82461
maptool
/
public
/
js
T
History
randy
17891c53b5
CI / check (push)
Successful in 22s
Details
CI / deploy (push)
Successful in 17s
Details
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00
..
auth.js
Gate GNSS (turning it on and its position) behind login
2026-09-08 14:06:29 +02:00
contour.js
Add contour lines to the Overlays panel via maplibre-contour
2026-09-11 00:12:32 +02:00
dashboard.js
Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
2026-11-30 19:11:07 +01:00
debug.js
Record per-step timings of offline/terrain builds
2026-11-12 11:54:49 +01:00
dem.js
Build terrain.pmtiles from Mapterhorn instead of fetching tiles ourselves
2026-09-11 12:26:03 +02:00
gnss.js
GNSS follow glides the marker and the camera linearly to each fix over the poll interval instead of jumping; the simulation sends a fix every 0.5 s
2026-11-30 18:48:20 +01:00
gpx.js
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
2026-11-27 23:22:32 +01:00
hiking_trails.js
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
icons.js
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
2026-11-27 23:22:32 +01:00
live.js
Night mode (auto after sunset / on / off, one invert+dim filter for now), tracker drawn as a top-down vehicle rotated by its GNSS course with a heading-up tilted Navigate mode, side panels float over the map on phone width instead of squeezing it
2026-11-23 15:03:58 +01:00
livetrack.js
Draw a LiveTrack session's planned course alongside the actual track
2026-09-20 16:54:24 +02:00
locate.js
Following the GNSS receiver or the browser's own position turns the map heading-up in the 3D view, position in the lower part of the screen, like a car navigation
2026-11-23 16:11:48 +01:00
map_themes.js
Road names and route numbers past z16 keep the same spacing on the ground (symbol-spacing grows with the zoom), not one every few meters at z22
2026-11-30 18:30:21 +01:00
map.js
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00
measure.js
Click a hiking trail to see its name, color, network and distance
2026-09-12 23:32:56 +02:00
notes.js
Tablet-friendlier points: route markers get a 48px grab area, notes can be moved (Move in the popup: drag or tap the new spot), new and edited points pick an icon and a color with B/I buttons for their text, and the Tracks & Points open/close arrows get a real hit area
2026-11-19 00:03:39 +01:00
nps.js
NPS park maps overlay: park points and map footprints, a park search, a park popup listing its Harpers Ferry Center maps with local PDF/GeoTIFF links, and the 289 georeferenced ones laid over the base map with an opacity slider; data from data/nps served by /api/nps and /nps/{overlay,geotiff,pdf}
2026-11-19 10:52:17 +01:00
offline_data.js
Offline regions for the whole world: the region list comes from Geofabrik's index (bin/geofabrik-regions-sync.mjs → geofabrik_regions.geojson, 193 countries plus subregions like the US states), keeping the European ISO codes; the picker folds it by continent with a search box and subregions under their country, flags for all of them
2026-11-19 10:03:47 +01:00
overlays.js
Dashboard overlay (Overlays → Live → Dashboard): one inclinometer (compass ring, roll and pitch), speed, the speed limit with an over-limit warning and, on the route, the next limit change, traffic signal, maneuver and its lanes; /api/route gains speed_limits, signals and lanes, POST /api/road gives the driven road's limit; GNSS simulation (random trips over Valhalla) for trying it without the car; the HMC5883L heading in can.json
2026-11-30 18:30:21 +01:00
panels.js
Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
2026-11-30 19:11:07 +01:00
plugins.js
Import plugins: a side panel like the others (pinned/overlay, swaps with them) instead of a flyout
2026-11-17 23:30:03 +01:00
preview.js
Preview a search result or route point on hover / press-and-hold, back on leave, committed on click
2026-11-13 22:45:42 +01:00
radar.js
Add contour lines to the Overlays panel via maplibre-contour
2026-09-11 00:12:32 +02:00
route.js
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00
search.js
Preview a search result or route point on hover / press-and-hold, back on leave, committed on click
2026-11-13 22:45:42 +01:00
shadow.js
Add an offline terrain shadow overlay to the Overlays panel
2026-09-10 21:43:51 +02:00
share_import.js
Bicycle and foot route profiles (Valhalla bicycle/pedestrian costing); hiking trail colours in the elevation profile; power, splits and best efforts in the profile; TCX import; FIT course export
2026-11-16 12:18:06 +01:00
sun.js
Sun & moon chart: click the topbar's sun readout
2026-11-12 11:54:49 +01:00
track_profile.js
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
update.js
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00