From f6097a2d60fb1220ab0ffe0a46d576f4ad1f050b Mon Sep 17 00:00:00 2001 From: Lars Kiesow Date: Sun, 27 Apr 2025 17:42:51 +0200 Subject: [PATCH 1/2] Open in Apple Maps or Google Maps This patch provides the additional option to open a location in Google maps as an alternative to Apple Maps. --- .../src/routes/adventures/[id]/+page.svelte | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/frontend/src/routes/adventures/[id]/+page.svelte b/frontend/src/routes/adventures/[id]/+page.svelte index f11f450..b32a19e 100644 --- a/frontend/src/routes/adventures/[id]/+page.svelte +++ b/frontend/src/routes/adventures/[id]/+page.svelte @@ -458,12 +458,21 @@ {/if} {#if adventure.longitude && adventure.latitude} - {$t('adventures.open_in_maps')} +
+ {$t('adventures.open_in_maps')}: + Apple + Google +
{/if} Date: Wed, 7 May 2025 21:10:38 +0200 Subject: [PATCH 2/2] Add support for OpenStreetMap This patch adds an option to open an item in OpenStreetMap as well as in Google Maps and Apple Maps. --- .../src/routes/adventures/[id]/+page.svelte | 36 +++++++++++-------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/frontend/src/routes/adventures/[id]/+page.svelte b/frontend/src/routes/adventures/[id]/+page.svelte index b32a19e..afbb3ae 100644 --- a/frontend/src/routes/adventures/[id]/+page.svelte +++ b/frontend/src/routes/adventures/[id]/+page.svelte @@ -458,20 +458,28 @@ {/if} {#if adventure.longitude && adventure.latitude} -
- {$t('adventures.open_in_maps')}: - Apple - Google +
+ {$t('adventures.open_in_maps')}: +
+ Apple + Google + OSM +
{/if}