From e61e82d72bce159554edb48c432154c3eb5e731d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Tue, 10 Jan 2023 10:18:11 +0100 Subject: [PATCH] Add location marker and for this fix or use 'mapbox-gl' and 'v-mpbox' CSS --- webapp/pages/map.vue | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/webapp/pages/map.vue b/webapp/pages/map.vue index 08fe8d097..ef5d6f786 100644 --- a/webapp/pages/map.vue +++ b/webapp/pages/map.vue @@ -16,9 +16,11 @@ :max-pitch="60" @load="onMapLoad" > +
{{ style.title }} +
@@ -76,7 +79,7 @@ export default { return { accessToken: this.$env.MAPBOX_TOKEN, style: !this.activeStyle ? this.availableStyles.outdoors.url : this.activeStyle, - center: [10.452764, 51.165707], // center of Germany + center: [10.452764, 51.165707], // center of Germany: https://www.gpskoordinaten.de/karte/land/DE zoom: 4, maxZoom: 22, } @@ -95,21 +98,32 @@ export default {