From 6d8149a77c094c2604afea9df88bee5a5964c88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Wed, 11 Jan 2023 16:18:00 +0100 Subject: [PATCH] Implement user location on map - Deactivate map translation because it doesn't work. --- webapp/graphql/Fragments.js | 2 + webapp/pages/map.vue | 93 +++++++++++++++++++++++++++++-------- 2 files changed, 75 insertions(+), 20 deletions(-) diff --git a/webapp/graphql/Fragments.js b/webapp/graphql/Fragments.js index 23d2c11d3..89b089e04 100644 --- a/webapp/graphql/Fragments.js +++ b/webapp/graphql/Fragments.js @@ -17,6 +17,8 @@ export const locationAndBadgesFragment = (lang) => gql` fragment locationAndBadges on User { location { name: name${lang} + lng + lat } badges { id diff --git a/webapp/pages/map.vue b/webapp/pages/map.vue index 91773a5f8..680323cc0 100644 --- a/webapp/pages/map.vue +++ b/webapp/pages/map.vue @@ -39,7 +39,11 @@ - + @@ -47,8 +51,10 @@