Google Maps Link nur noch auf dem Pin-Icon
This commit is contained in:
@@ -194,9 +194,9 @@
|
||||
if (!street || !plz || !city) return 'N/A';
|
||||
const address = `${street}, ${plz} ${city}`;
|
||||
const searchQuery = encodeURIComponent(address);
|
||||
return `<a href="https://www.google.com/maps/search/?api=1&query=${searchQuery}"
|
||||
return `${address}
|
||||
<a href="https://www.google.com/maps/search/?api=1&query=${searchQuery}"
|
||||
class="address-link" target="_blank" rel="noopener noreferrer">
|
||||
${address}
|
||||
<i class="fa-solid fa-location-pin location-pin"></i>
|
||||
</a>`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user