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 {