From 40547a433208341edf28cc8118079c20ef949267 Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Fri, 27 Dec 2024 20:31:34 -0700 Subject: [PATCH] render current location if available --- webapp/src/components/LeafletMap.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webapp/src/components/LeafletMap.vue b/webapp/src/components/LeafletMap.vue index efcf387..72149bf 100644 --- a/webapp/src/components/LeafletMap.vue +++ b/webapp/src/components/LeafletMap.vue @@ -158,6 +158,10 @@ function initializeMap() { } else { emit('update:bounds', map.getBounds()); } + + if (props.currentLocation) { + updateCurrentLocation(); + } } function updateMarkers(newAlprs: ALPR[]): void {