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

@@ -18,7 +18,11 @@
import { untrack } from 'svelte';
import { isSelected, toggle } from '$lib/components/map/layer-control/utils';
import { engine } from '$lib/engine';
import { hoveredPoint, slicedStatistics } from '$lib/state/selection-statistics';
import {
hoveredPoint,
hoveredTrackpoint,
slicedStatistics,
} from '$lib/state/selection-statistics';
let {
useHash = true,
@@ -119,6 +123,7 @@
{statistics}
{slicedStatistics}
{hoveredPoint}
{hoveredTrackpoint}
{additionalDatasets}
{elevationFill}
showControls={options.elevation.controls}