- attivita
- gestione degli script sul server - creato websocket per interagire con gli script del server.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { tools } from '@store/Modules/tools'
|
||||
import { useQuasar } from 'quasar'
|
||||
import { PropType, defineComponent, onMounted, ref, computed, nextTick } from 'vue'
|
||||
import { PropType, defineComponent, onMounted, ref, computed, nextTick, shallowRef } from 'vue'
|
||||
|
||||
import 'leaflet/dist/leaflet.css'
|
||||
// @ts-ignore
|
||||
@@ -8,6 +8,7 @@ import * as L from 'leaflet'
|
||||
import 'leaflet.markercluster/dist/MarkerCluster.css'
|
||||
import 'leaflet.markercluster/dist/MarkerCluster.Default.css'
|
||||
import 'leaflet.markercluster'
|
||||
import '../../utils/leaflet-extensions'; // Importa le estensioni
|
||||
|
||||
import { useUserStore } from '@src/store/UserStore'
|
||||
import { useGlobalStore } from '@src/store/globalStore'
|
||||
@@ -22,7 +23,7 @@ export default defineComponent({
|
||||
|
||||
const iconWidth = ref(25)
|
||||
const iconHeight = ref(40)
|
||||
const map = ref(<any>null)
|
||||
const map = shallowRef(<any>null)
|
||||
const zoom = ref(6)
|
||||
const center = ref(<any>[42.71, 12.934])
|
||||
const arrprovince = ref(<any>[])
|
||||
|
||||
Reference in New Issue
Block a user