From 069673c724edcfe9aca703f7b6f4429b45b5a678 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 3 Sep 2025 13:01:27 +0200 Subject: [PATCH] Show waypoint details in tooltip Signed-off-by: Lars --- src/components/map/TrackLayer.vue | 51 +++++++++++++++++++++++-------- 1 file changed, 39 insertions(+), 12 deletions(-) diff --git a/src/components/map/TrackLayer.vue b/src/components/map/TrackLayer.vue index c4b837f47..6d082c969 100644 --- a/src/components/map/TrackLayer.vue +++ b/src/components/map/TrackLayer.vue @@ -44,23 +44,50 @@ {{ t('maps', 'Download track') }} - -
- {{ t('maps', 'Name') }}: - {{ track.file_name }} -
- {{ t('maps', 'Begins at') }}: - {{ dateBegin }} -
-
+ :lat-lng="firstPoint" > + +
+ {{ t('maps', 'File') }}: + {{ track.file_name }} +
+ {{ t('maps', 'Begins at') }}: + {{ dateBegin }} +
+ {{ t('maps', 'Name') }}: + {{ firstPoint.name }} +
+ {{ t('maps', 'Description') }}: + {{ firstPoint.desc }} +
+ {{ t('maps', 'Altitude') }}: + {{ firstPoint.ele }} m +
+
+
+ :lat-lng="point"> + +
+ {{ t('maps', 'File') }}: + {{ track.file_name }} +
+ {{ t('maps', 'Name') }}: + {{ point.name }} +
+ {{ t('maps', 'Description') }}: + {{ point.desc }} +
+ {{ t('maps', 'Altitude') }}: + {{ point.ele }} m +
+
+