minor fixes to get it to build

This commit is contained in:
Will Freeman
2024-12-27 20:51:49 -07:00
parent 7230477605
commit c5a84a6db8
2 changed files with 2 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
<template>
<l-circle-marker
:lat-lng="[props.lat, props.lon]"
:radius="26"
color="#3f54f3"
/>
</template>
<script setup lang="ts">
import { LCircleMarker } from '@vue-leaflet/vue-leaflet';
import { defineProps } from 'vue';
const props = defineProps({
lat: Number,
lon: Number,
});
</script>

View File

@@ -12,7 +12,7 @@
<script setup lang="ts">
import { onBeforeUnmount, onMounted, h, createApp, watch, ref, type PropType, type Ref } from 'vue';
import L, { type LatLngExpression, type FeatureGroup, type MarkerClusterGroup, type Marker, type CircleMarker } from 'leaflet';
import L, { type LatLngTuple, type FeatureGroup, type MarkerClusterGroup, type Marker, type CircleMarker } from 'leaflet';
import type { ALPR } from '@/types';
import DFMapPopup from './DFMapPopup.vue';
import { createVuetify } from 'vuetify'
@@ -29,7 +29,7 @@ const isInternalUpdate = ref(false);
const props = defineProps({
center: {
type: Object,
type: Object as PropType<LatLngTuple>,
required: true,
},
zoom: {