Personal activity heatmap overlay #18

Closed
jmz wants to merge 2 commits from feat/heatmap-overlay into main-v0.21.2
Owner

Adds a Personal heatmap raster overlay to the map layer switcher, sourced from the trail-analyze heatmap tiles (trail-analyze.ziefle.org/heatmap/{z}/{x}/{y}.png, z8-14, CORS-enabled), at 0.7 opacity. Registered in defaultMapState.overlays; en/fr/de labels added.

First step of M3 (bring our tiles into Wanderer's map). Deployed via the deploy integration branch. svelte-check clean; unit tests green.

Adds a **Personal heatmap** raster overlay to the map layer switcher, sourced from the trail-analyze heatmap tiles (`trail-analyze.ziefle.org/heatmap/{z}/{x}/{y}.png`, z8-14, CORS-enabled), at 0.7 opacity. Registered in `defaultMapState.overlays`; en/fr/de labels added. First step of M3 (bring our tiles into Wanderer's map). Deployed via the `deploy` integration branch. svelte-check clean; unit tests green.
feat(map): personal activity heatmap overlay
Some checks failed
Web CI / test (pull_request) Failing after 2s
243535ae77
Adds a 'Personal heatmap' raster overlay (toggle in the layer switcher)
sourced from the trail-analyze heatmap tiles
(trail-analyze.ziefle.org/heatmap/{z}/{x}/{y}.png, z8-14, CORS-enabled),
at 0.7 opacity. Registered in defaultMapState.overlays; en/fr/de labels.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
jmz force-pushed feat/heatmap-overlay from 243535ae77
Some checks failed
Web CI / test (pull_request) Failing after 2s
to 80c06beb5c
Some checks failed
CI / go (push) Has been cancelled
CI / web (push) Has been cancelled
2026-10-30 23:34:22 +00:00
Compare
maximus changed target branch from main to main-v0.21.2 2026-10-30 23:34:46 +00:00
Member

Phase-1 catch-up review (upstream v0.21.2)

Rebased onto main-v0.21.2, with the base retargeted. The old head is kept as archive/feat-heatmap-overlay-pre-v0.21.2. I added 80c06beb: the tile host moved trail-analyze.ziefle.org → trail-analyze.bearoverse.com. The old host has answered 404 since the 2026-10-21 domain cutover, so the overlay that is live on deploy is broken today. The same fix is on deploy-v0.21.2 (a2ed1dd1, which also fixes the pace-engine URL).

It still won't work after the host fix. trail-analyze.bearoverse.com sits behind Authentik forwardAuth, and MapLibre fetches tiles cross-origin without credentials, so it gets a 302 to SSO. The real fix is a same-origin proxy in wanderer-web (like /api/v1/brouter/route) to the in-cluster trail-analyze-web service.

Verdict: close. The content was already merged into deploy (d91e8a2a). It is instance-specific (a hard-coded personal tile URL), so it is not for main or upstream. Track the proxy fix as an issue against deploy (M3) instead.

🤖 Generated with Claude Code

https://claude.ai/code/session_01M1AaXnEghenJ4BDxNryKvs

## Phase-1 catch-up review (upstream v0.21.2) **Rebased** onto `main-v0.21.2`, with the base retargeted. The old head is kept as `archive/feat-heatmap-overlay-pre-v0.21.2`. I added `80c06beb`: the tile host moved `trail-analyze.ziefle.org` → `trail-analyze.bearoverse.com`. The old host has answered 404 since the 2026-10-21 domain cutover, so the overlay that is live on `deploy` is broken today. The same fix is on `deploy-v0.21.2` (`a2ed1dd1`, which also fixes the pace-engine URL). **It still won't work after the host fix.** `trail-analyze.bearoverse.com` sits behind Authentik forwardAuth, and MapLibre fetches tiles cross-origin without credentials, so it gets a 302 to SSO. The real fix is a same-origin proxy in wanderer-web (like `/api/v1/brouter/route`) to the in-cluster `trail-analyze-web` service. **Verdict: close.** The content was already merged into `deploy` (d91e8a2a). It is instance-specific (a hard-coded personal tile URL), so it is not for `main` or upstream. Track the proxy fix as an issue against `deploy` (M3) instead. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01M1AaXnEghenJ4BDxNryKvs
Author
Owner

Closing: the heatmap overlay is already part of deploy / deploy-v0.21.2, and its data now goes through the same-origin trail-analyze proxy. Nothing left to merge; the branch is on the cleanup list.

🤖 Generated with Claude Code

Closing: the heatmap overlay is already part of deploy / deploy-v0.21.2, and its data now goes through the same-origin trail-analyze proxy. Nothing left to merge; the branch is on the cleanup list. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jmz closed this pull request 2026-10-31 13:03:09 +00:00
Some checks failed
CI / go (push) Has been cancelled
CI / web (push) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
public/wanderer!18
No description provided.