Skip to content

Commit 50c51d3

Browse files
frontend: MainView: Add MiniMap
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 4720576 commit 50c51d3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

core/frontend/src/views/MainView.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
import Vue from 'vue'
9292
9393
import SelfHealthTest from '@/components/health/SelfHealthTest.vue'
94+
import MiniMap from '@/components/map/MiniMap.vue'
9495
import GenericViewer from '@/components/vehiclesetup/viewers/GenericViewer.vue'
9596
import VideoThumbnail from '@/components/video-manager/VideoThumbnail.vue'
9697
import { OneMoreTime } from '@/one-more-time'
@@ -123,6 +124,7 @@ export default Vue.extend({
123124
components: {
124125
SelfHealthTest,
125126
GenericViewer,
127+
MiniMap,
126128
},
127129
data: () => ({
128130
windowHeight: window.innerHeight,
@@ -156,6 +158,15 @@ export default Vue.extend({
156158
orientation: this.orientation,
157159
},
158160
},
161+
{
162+
icon: 'mdi-map-marker',
163+
title: 'Vehicle Position',
164+
component: MiniMap,
165+
size: {
166+
w: 0.4,
167+
h: 1.2,
168+
},
169+
},
159170
{
160171
icon: 'mdi-cpu-64-bit',
161172
title: 'System Information',

0 commit comments

Comments
 (0)