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

@@ -31,6 +31,7 @@
statistics,
slicedStatistics,
hoveredPoint,
hoveredTrackpoint,
additionalDatasets,
elevationFill,
showControls = true,
@@ -38,6 +39,7 @@
statistics: Readable<SelectionStatistics>;
slicedStatistics: Writable<SlicedStatistics | undefined>;
hoveredPoint: Writable<Coordinates | null>;
hoveredTrackpoint?: Readable<number | null>;
additionalDatasets: Writable<string[]>;
elevationFill: Writable<'slope' | 'surface' | 'highway' | undefined>;
showControls?: boolean;
@@ -55,7 +57,8 @@
additionalDatasets,
elevationFill,
canvas,
overlay
overlay,
hoveredTrackpoint
);
});