From 1a8396a3faa460952f94bdac497f4e76c7496024 Mon Sep 17 00:00:00 2001 From: Stefan Peters Date: Wed, 31 Jul 2024 09:42:47 +0200 Subject: [PATCH] MapView: Support multiple locations in one map (#38) --- src/client/components/MapView.vue | 48 +++++++++++++++++++++++++------ src/client/views/ItemView.vue | 6 ++-- 2 files changed, 42 insertions(+), 12 deletions(-) diff --git a/src/client/components/MapView.vue b/src/client/components/MapView.vue index 7ea2b30..77dd0b8 100644 --- a/src/client/components/MapView.vue +++ b/src/client/components/MapView.vue @@ -1,25 +1,55 @@ diff --git a/src/client/views/ItemView.vue b/src/client/views/ItemView.vue index f0994e5..d18c9da 100644 --- a/src/client/views/ItemView.vue +++ b/src/client/views/ItemView.vue @@ -226,14 +226,12 @@ const topConcepts = computed(() => { -
+ :key="`${uri}`" + :locations="Array.isArray(concept.location) ? concept.location : [concept.location]" />
Linked Data: