1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-29 05:21:38 +02:00

chore(web): improve map pin (#5761)

* chore(web): improve map pin

* zoom level
This commit is contained in:
Alex
2023-12-16 14:21:13 -06:00
committed by GitHub
parent 67f020380f
commit 62347edf43
3 changed files with 20 additions and 7 deletions

View File

@ -569,7 +569,13 @@
{#if latlng && $featureFlags.loaded && $featureFlags.map}
<div class="h-[360px]">
<Map mapMarkers={[{ lat: latlng.lat, lon: latlng.lng, id: asset.id }]} center={latlng} zoom={14} simplified>
<Map
mapMarkers={[{ lat: latlng.lat, lon: latlng.lng, id: asset.id }]}
center={latlng}
zoom={15}
simplified
useLocationPin
>
<svelte:fragment slot="popup" let:marker>
{@const { lat, lon } = marker}
<div class="flex flex-col items-center gap-1">