diff --git a/webapp/public/step1.png b/webapp/public/step1.png new file mode 100644 index 0000000..8016bff Binary files /dev/null and b/webapp/public/step1.png differ diff --git a/webapp/public/step2.png b/webapp/public/step2.png new file mode 100644 index 0000000..f8608ff Binary files /dev/null and b/webapp/public/step2.png differ diff --git a/webapp/public/step3.png b/webapp/public/step3.png new file mode 100644 index 0000000..49f58f9 Binary files /dev/null and b/webapp/public/step3.png differ diff --git a/webapp/src/App.vue b/webapp/src/App.vue index c4195a1..33f9737 100644 --- a/webapp/src/App.vue +++ b/webapp/src/App.vue @@ -14,9 +14,9 @@ const items = [ { title: 'Map', icon: 'mdi-map', to: '/' }, { title: 'What is an ALPR?', icon: 'mdi-cctv', to: '/what-is-an-alpr' }, { title: 'Report an ALPR', icon: 'mdi-map-marker-plus', to: '/report' }, - { title: 'Feature Roadmap', icon: 'mdi-road-variant', to: '/roadmap' }, { title: 'About', icon: 'mdi-information', to: '/about' }, { title: 'Contact', icon: 'mdi-email', to: '/contact' }, + { title: 'Feature Roadmap', icon: 'mdi-road-variant', to: '/roadmap' }, ] const drawer = ref(false) diff --git a/webapp/src/components/DFMapMarker.vue b/webapp/src/components/DFMapMarker.vue index 707ea5f..404e4ca 100644 --- a/webapp/src/components/DFMapMarker.vue +++ b/webapp/src/components/DFMapMarker.vue @@ -7,7 +7,7 @@ @@ -34,7 +34,13 @@ const props = defineProps({ } }); +const hasDirection = computed(() => props.alpr.tags.direction !== undefined); + const directionIndicatorPolygonCoordinates = computed(() => { + if (!hasDirection.value) { + console.warn('ALPR does not have direction tag'); + return []; + } const { lat, lon } = props.alpr; const direction = parseInt(props.alpr.tags.direction); const fov = 30; // Field of view in degrees diff --git a/webapp/src/components/NewVisitor.vue b/webapp/src/components/NewVisitor.vue new file mode 100644 index 0000000..082635c --- /dev/null +++ b/webapp/src/components/NewVisitor.vue @@ -0,0 +1,91 @@ + + + + + diff --git a/webapp/src/views/HomeView.vue b/webapp/src/views/HomeView.vue index d6c557d..2ab3e0c 100644 --- a/webapp/src/views/HomeView.vue +++ b/webapp/src/views/HomeView.vue @@ -1,5 +1,7 @@