From 786c122dcd2cf3f4735ffa4f4336602aef6115ea Mon Sep 17 00:00:00 2001 From: Philipp Hofer Date: Mon, 14 Apr 2025 14:59:10 +0200 Subject: [PATCH] remove js error --- src/station.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/station.rs b/src/station.rs index 4e002ca..28e09e8 100644 --- a/src/station.rs +++ b/src/station.rs @@ -82,7 +82,7 @@ async fn view( iconAnchor: [12, 41] }}); currentMarker = L.marker([{lat}, {lng}], {{icon: myIcon}}).addTo(map); - map.setView([lat, lng], 14); + map.setView([{lat}, {lng}], 14); ")) } div {