mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-02-12 15:02:45 +00: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">
|
||||
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: {
|
||||
|
||||
Reference in New Issue
Block a user