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 +
+
+