mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-08-23 10:52:47 +02:00
minor fixes to get it to build
This commit is contained in:
@@ -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>
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onBeforeUnmount, onMounted, h, createApp, watch, ref, type PropType, type Ref } from 'vue';
|
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 type { ALPR } from '@/types';
|
||||||
import DFMapPopup from './DFMapPopup.vue';
|
import DFMapPopup from './DFMapPopup.vue';
|
||||||
import { createVuetify } from 'vuetify'
|
import { createVuetify } from 'vuetify'
|
||||||
@@ -29,7 +29,7 @@ const isInternalUpdate = ref(false);
|
|||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
center: {
|
center: {
|
||||||
type: Object,
|
type: Object as PropType<LatLngTuple>,
|
||||||
required: true,
|
required: true,
|
||||||
},
|
},
|
||||||
zoom: {
|
zoom: {
|
||||||
|
|||||||
Reference in New Issue
Block a user