ai-agent/55-update-dashboard-design (#57)
All checks were successful
Build and Push Image / docker-build-and-push (push) Successful in 2m18s

Co-authored-by: AI Agent <ai-agent@campbellwireless.net>
Reviewed-on: #57
This commit was merged in pull request #57.
This commit is contained in:
2026-02-24 22:35:58 +00:00
parent 894535b555
commit 422f1a2b77

View File

@@ -5,9 +5,10 @@
let { data } = $props();
const dashboard = $derived(data.dashboard) as DashboardData;
const mapLongitudeOffset = 12;
const markers = $derived(
dashboard.mapStops.map((stop: DashboardMapStop, index: number) => {
const x = ((stop.lon + 180) / 360) * 100;
const x = ((stop.lon + 180 - mapLongitudeOffset) / 360) * 100;
const y = ((90 - stop.lat) / 180) * 100;
return {
...stop,