show hovered point on elevation profile

This commit is contained in:
vcoppe committed 2026-11-08 15:06:03 +01:00
1 parent b80fa7d942
commit 21e27a4416
15 files changed
+260 -106

No files matched your search

+8
View File
@@ -143,6 +143,14 @@ export class StatisticsReader {
};
break;
}
case 'segments': {
const [starts, ids] = await Promise.all([
backend.segment_starts(),
backend.segment_ids(),
]);
statistics.segments = { starts, ids };
break;
}
case 'highway':
[statistics.highway, statistics.sacScale, statistics.mtbScale] =
await Promise.all([