💄 Copy to clipboard LatLng on click
This commit is contained in:
parent
94b1fc2a8d
commit
41ae1b1e1d
@ -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>
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user