Skip to content

High performance self-hosted photo and video management solution.

fix: format point count numbers on map view (#21848)

Stewart Rand04c9531624f2
diff --git a/web/src/lib/components/shared-components/map/map.svelte b/web/src/lib/components/shared-components/map/map.svelte
index 3c5bb5ece9..96116aa584 100644
--- a/web/src/lib/components/shared-components/map/map.svelte
+++ b/web/src/lib/components/shared-components/map/map.svelte
@@ -353,7 +353,7 @@
<div
class="rounded-full w-[40px] h-[40px] bg-immich-primary text-white flex justify-center items-center font-mono font-bold shadow-lg hover:bg-immich-dark-primary transition-all duration-200 hover:text-immich-dark-bg opacity-90"
>
- {feature.properties?.point_count}
+ {feature.properties?.point_count?.toLocaleString()}
</div>
{/snippet}
</MarkerLayer>