- npm updates, remove rxjs
- add draw.component.vue - only load needed leaflet classes into map.component.vue an Submitter/Create.vue - rename js/store.Map.ts to js/Stores/map.service.ts -
This commit is contained in:
parent
cd66f318b6
commit
a744ae7e5b
19 changed files with 683 additions and 275 deletions
|
@ -121,7 +121,7 @@ const onCancel = (id) => {
|
|||
</div>
|
||||
</form> -->
|
||||
</CardBox>
|
||||
<CardBox class="mb-6" has-table>
|
||||
<CardBox class="mb-6" has-form-data>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
|
@ -54,7 +54,7 @@ export default {
|
|||
|
||||
<script lang ="ts">
|
||||
import { Component, Vue, Prop } from 'vue-facing-decorator';
|
||||
import IUser from "App/Models/User";
|
||||
import type User from "App/Models/User";
|
||||
import { Link } from '@inertiajs/vue3';
|
||||
import DefaultLayout from '@/Layouts/Default.vue';
|
||||
import { NInput, NButton } from 'naive-ui';
|
||||
|
@ -82,6 +82,6 @@ export default class AppComponent extends Vue {
|
|||
type: Array,
|
||||
default: () => ([]),
|
||||
})
|
||||
users: Array<IUser>;
|
||||
users: Array<User>;
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -37,8 +37,9 @@ import TablePersons from '@/Components/TablePersons.vue';
|
|||
import { MainService } from '@/Stores/main';
|
||||
import { notify } from '@/notiwind';
|
||||
import LocationMap from '@/Components/Map/map.component.vue';
|
||||
import { MapOptions, LatLngBoundsExpression } from 'leaflet';
|
||||
import { LayerOptions } from '@/Components/Map/MapOptions';
|
||||
import { MapOptions } from '@/Components/Map/MapOptions';
|
||||
import { LatLngBoundsExpression } from 'leaflet/src/geo/LatLngBounds';
|
||||
import { LayerOptions } from '@/Components/Map/LayerOptions';
|
||||
|
||||
const props = defineProps({
|
||||
licenses: {
|
||||
|
@ -169,6 +170,7 @@ const mapOptions: MapOptions = {
|
|||
center: [48.208174, 16.373819],
|
||||
zoom: 3,
|
||||
zoomControl: false,
|
||||
attributionControl: false
|
||||
};
|
||||
const baseMaps: Map<string, LayerOptions> = new Map<string, LayerOptions>();
|
||||
const fitBounds: LatLngBoundsExpression = [
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue