refactor of map component, still missing some ignorecache functions to test different geocoding providers

This commit is contained in:
sedum
2023-04-27 00:07:36 +02:00
parent 6d034f18d9
commit a59df23fbf
7 changed files with 149 additions and 206 deletions

View File

@@ -62,7 +62,7 @@ v-container
:label="$t('common.longitude')"
:rules="$validators.longitude")
MapEdit.mt-4(:place.sync='place' :key="dialog" v-if="settings.allow_geolocation && place.name !== 'online' && place.latitude && place.longitude")
Map.mt-4(:place.sync='place' :key="dialog" v-if="settings.allow_geolocation && place.name !== 'online' && place.latitude && place.longitude")
v-card-actions
v-spacer
@@ -96,7 +96,7 @@ import geolocation from '../../server/helpers/geolocation/index'
export default {
components: {
[process.client && 'MapEdit']: () => import('@/components/MapEdit.vue')
[process.client && 'Map']: () => import('@/components/Map.vue')
},
data( {$store} ) {
return {