💄 Copy to clipboard LatLng on click

This commit is contained in:
itskovacs 2025-08-13 21:58:13 +02:00
parent 94b1fc2a8d
commit 41ae1b1e1d

View File

@ -274,7 +274,9 @@
@if (selectedItem.lat) {
<div class="rounded-md shadow p-4">
<p class="font-bold mb-1 truncate">Latitude, Longitude</p>
<p class="text-sm text-gray-500 truncate">{{ selectedItem.lat }}, {{ selectedItem.lng }}</p>
<p class="text-sm text-gray-500 truncate cursor-copy"
[cdkCopyToClipboard]="selectedItem.lat + ',' + selectedItem.lng">{{
selectedItem.lat }}, {{ selectedItem.lng }}</p>
</div>
}