diff --git a/langs/en.json b/langs/en.json
index a8897acc4..a50539f44 100644
--- a/langs/en.json
+++ b/langs/en.json
@@ -65,7 +65,8 @@
"title": "Missing items"
},
"noDataLoaded": "The external website has no linked data that could be loaded",
- "overwrite": "Overwrite in OpenStreetMap"
+ "overwrite": "Overwrite in OpenStreetMap",
+ "title": "Structured data loaded from the external website"
},
"favourite": {
"loginNeeded": "
Log in
A personal layout is only available for OpenStreetMap users",
diff --git a/public/css/tagrendering.css b/public/css/tagrendering.css
index 40adaab94..d2f559e55 100644
--- a/public/css/tagrendering.css
+++ b/public/css/tagrendering.css
@@ -22,6 +22,21 @@
width: unset;
}
+
+
+.mapping-icon-small-width {
+ width: 1.5rem;
+}
+
+.mapping-icon-medium-width {
+ width: 3rem;
+}
+
+.mapping-icon-large-width {
+ width: 5rem;
+}
+
+
.mapping-icon-small {
/* A mapping icon type */
width: 1.5rem;
diff --git a/src/UI/BigComponents/UserProfile.svelte b/src/UI/BigComponents/UserProfile.svelte
index 5cb514a4d..78abfa007 100644
--- a/src/UI/BigComponents/UserProfile.svelte
+++ b/src/UI/BigComponents/UserProfile.svelte
@@ -41,13 +41,13 @@
class="link-no-underline flex items-center self-end"
>
-
+
{:else}
-
-
+
+
{/if}
diff --git a/src/UI/Comparison/ComparisonTool.svelte b/src/UI/Comparison/ComparisonTool.svelte
index e283ec9aa..d083b98e1 100644
--- a/src/UI/Comparison/ComparisonTool.svelte
+++ b/src/UI/Comparison/ComparisonTool.svelte
@@ -13,6 +13,7 @@
import Translations from "../i18n/Translations"
import Tr from "../Base/Tr.svelte"
import AccordionSingle from "../Flowbite/AccordionSingle.svelte"
+ import GlobeAlt from "@babeard/svelte-heroicons/mini/GlobeAlt"
export let externalData: Store<
| { success: { content: Record } }
@@ -40,7 +41,10 @@
{:else if $externalData["success"] !== undefined}
- Structured data from the website
+
+
+
+
-
+
diff --git a/src/UI/Map/Marker.svelte b/src/UI/Map/Marker.svelte
index 3970755f1..09cfb81ac 100644
--- a/src/UI/Map/Marker.svelte
+++ b/src/UI/Map/Marker.svelte
@@ -1,17 +1,23 @@
{#if icons !== undefined && icons.length > 0}
-
+
{#each icons as icon}
-
+
{/each}
diff --git a/src/UI/Popup/TagRendering/TagRenderingAnswer.svelte b/src/UI/Popup/TagRendering/TagRenderingAnswer.svelte
index 1c5e9e796..342a9a91b 100644
--- a/src/UI/Popup/TagRendering/TagRenderingAnswer.svelte
+++ b/src/UI/Popup/TagRendering/TagRenderingAnswer.svelte
@@ -28,11 +28,12 @@
{#if config !== undefined && (config?.condition === undefined || config.condition.matchesProperties($tags))}
-
+
{#if $trs.length === 1}
-
+
{/if}
- {#if $trs.length > 1}
+ {#if $trs.length > 1}
{#each $trs as mapping}
-
diff --git a/src/UI/Popup/TagRendering/TagRenderingEditable.svelte b/src/UI/Popup/TagRendering/TagRenderingEditable.svelte
index 0f73633af..8fdaa6d52 100644
--- a/src/UI/Popup/TagRendering/TagRenderingEditable.svelte
+++ b/src/UI/Popup/TagRendering/TagRenderingEditable.svelte
@@ -106,7 +106,7 @@
{:else}
-
+
>
@@ -30,13 +31,22 @@
| "large-height"
| string
}
+ function iconToMarker(spec: string) {
+ return spec.split(";").map(subspec => {
+ const [icon, color] = subspec.split(":")
+ return {
+ icon, color: color ?? "black"
+ }
+ })
+ }
{#if mapping.icon !== undefined}
-
diff --git a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
index 28c82543d..e5152a887 100644
--- a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
+++ b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
@@ -325,6 +325,8 @@
{#if config.questionhint}
+
+
{#if config.questionHintIsMd}
{:else}
@@ -338,6 +340,7 @@
/>
{/if}
+
{/if}