Sharescreen: add 'geo:'-link (fix #2115), remove obsolete translation

This commit is contained in:
Pieter Vander Vennet 2024-09-02 11:47:26 +02:00
parent f1d416320c
commit e0a393385a
23 changed files with 497 additions and 463 deletions

View file

@ -35,6 +35,8 @@
let enableBackground = true
let enableGeolocation = true
let location = state.mapProperties.location
function calculateLinkToShare(
showWelcomeMessage: boolean,
enableLogin: boolean,
@ -116,10 +118,12 @@
)
</script>
<div class="flex flex-col">
<div class="flex flex-col link-underline">
<a href="geo:{$location.lat},{$location.lon}">Open the current location in other applications</a>
<div class="flex flex-col">
<Tr t={tr.intro} />
<Copyable {state} text={linkToShare} />
</div>
<div class="flex justify-center">