ALPR Stats (#2)

* set up lambda to get total ALPR counts

* show total counts on map, updated hourly
This commit is contained in:
Will Freeman
2024-11-20 14:49:19 -06:00
committed by GitHub
parent 6bb2c1ea99
commit 0d062296a3
9 changed files with 215 additions and 175 deletions
+5
View File
@@ -17,6 +17,10 @@
@ready="mapLoaded"
:options="{ zoomControl: false, attributionControl: false }"
>
<l-control position="bottomleft">
<ALPRCounter />
</l-control>
<l-control position="topleft">
<form @submit.prevent="onSearch">
<v-text-field
@@ -78,6 +82,7 @@ import { useDisplay, useTheme } from 'vuetify';
import DFMapMarker from '@/components/DFMapMarker.vue';
import DFMarkerCluster from '@/components/DFMarkerCluster.vue';
import NewVisitor from '@/components/NewVisitor.vue';
import ALPRCounter from '@/components/ALPRCounter.vue';
import type { ALPR } from '@/types';
const DEFAULT_ZOOM = 12;