Merge pull request #5950 from Ocelot-Social-Community/5948-set-legend-to-map

refactor(webapp): set legend to map
This commit is contained in:
Moriz Wahl 2023-02-08 16:29:51 +01:00 committed by GitHub
commit e0a60a91cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 1 deletions

View File

@ -646,6 +646,11 @@
"title": "Benachrichtigungen",
"user": "Benutzer"
},
"position": {
"group": "Gruppe",
"my": "Meine Position",
"user": "Benutzer"
},
"post": {
"comment": {
"reply": "Antworten",

View File

@ -646,6 +646,11 @@
"title": "Notifications",
"user": "User"
},
"position": {
"group": "Group",
"my": "My position",
"user": "User"
},
"post": {
"comment": {
"reply": "Reply",

View File

@ -3,8 +3,23 @@
<div>
<ds-space margin="small">
<ds-heading tag="h1">{{ $t('map.pageTitle') }}</ds-heading>
<small>
<div>
<img
alt="my position"
src="/img/mapbox/marker-icons/mapbox-marker-icon-orange.svg"
width="15"
/>
{{ $t('position.my') }}
<img alt="user" src="/img/mapbox/marker-icons/mapbox-marker-icon-green.svg" width="15" />
{{ $t('position.user') }}
<img alt="group" src="/img/mapbox/marker-icons/mapbox-marker-icon-blue.svg" width="15" />
{{ $t('position.group') }}
</div>
</small>
</ds-space>
<ds-space margin="large" />
<ds-space margin="small" />
<client-only v-if="!isEmpty($env.MAPBOX_TOKEN)">
<map-styles-buttons
v-if="isMobile"