Zoom out again, attempt to fix autocompletion address display

This commit is contained in:
Marcus Kida 2026-02-08 14:43:39 +01:00
parent f92e427e51
commit fcd1131193

View file

@ -23,7 +23,7 @@
}); });
// === Map Setup === // === Map Setup ===
var map = L.map("map").setView([52.37, 9.73], 9); var map = L.map("map").setView([52.37, 9.73], 6);
L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", { L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
maxZoom: 19, maxZoom: 19,
attribution: attribution:
@ -93,7 +93,7 @@
format: "json", format: "json",
limit: "5", limit: "5",
addressdetails: "0", addressdetails: "0",
"accept-language": navigator.language, "accept-language": "de",
}), }),
{ signal: acController.signal } { signal: acController.signal }
) )
@ -322,7 +322,7 @@
q: address, q: address,
format: "json", format: "json",
limit: "1", limit: "1",
"accept-language": navigator.language, "accept-language": "de",
}) })
) )
.then(function (resp) { .then(function (resp) {