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

@@ -38,7 +38,7 @@ v-card
:rules="$validators.longitude")
p.mt-4(v-if='place.isNew' v-html="$t('event.address_geocoded_disclaimer')")
MapEdit.mt-4(:place='place' v-if="(settings.allow_geolocation && place.name !== 'online' && place.latitude && place.longitude)" )
Map.mt-4(:place='place' v-if="(settings.allow_geolocation && place.name !== 'online' && place.latitude && place.longitude)" )
v-divider(v-if='settings.allow_online_event && showGeocoded')
@@ -76,7 +76,7 @@ export default {
onlineLocations: { type: Array, default: [] }
},
components: {
[process.client && 'MapEdit']: () => import('@/components/MapEdit.vue')
[process.client && 'Map']: () => import('@/components/Map.vue')
},
data ({$store}) {
return {