From dc7098daf325cd10e8eccae8e08097d3a8317ab8 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Thu, 25 Jan 2024 02:15:51 +0100 Subject: [PATCH] Correct latitude (y) and longitude (x) coordinates of map I had them reversed. --- web/templates/public/campground.gohtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/public/campground.gohtml b/web/templates/public/campground.gohtml index b5e4107..bfa8a1e 100644 --- a/web/templates/public/campground.gohtml +++ b/web/templates/public/campground.gohtml @@ -25,7 +25,7 @@ const svg = container.childNodes[0]; svg.remove(); - const latLngBounds = L.latLngBounds([[0, 0], [1500, 1192]]); + const latLngBounds = L.latLngBounds([[0, 0], [1192, 1500]]); const map = L.map(container, { center: latLngBounds.getCenter(), zoom: 4,