1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-22 06:19:38 +02:00

Add Google Maps API integration for geocoding and reverse geocoding functionality

This commit is contained in:
Sean Morley 2025-05-24 14:59:58 -04:00
parent 042d034594
commit 68ba3c4b4d
5 changed files with 183 additions and 40 deletions

View file

@ -272,16 +272,18 @@
markers = [
{
lngLat: { lng: Number(place.lon), lat: Number(place.lat) },
location: place.display_name,
name: place.name,
activity_type: place.type
location: place.display_name ?? '',
name: place.name ?? '',
activity_type: place.type ?? ''
}
];
item.name = place.name;
item.name = place.name ?? '';
}}
>
{place.display_name}
<span>{place.name}</span>
<br />
<small class="text-xs text-neutral-300">{place.display_name}</small>
</button>
{/each}
</div>