From c059d56f34c17be26ac198b51abab302726f3186 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Thu, 8 Oct 2026 06:39:03 +0200 Subject: [PATCH] Fix Passau tile coords: 1099->1100, 706->707 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Computed precisely: zoom 11, lat 48.5667, lon 13.4319. x_norm = (lon+180)/360 = 0.5373, x_tile = 1100.41 -> floor 1100 y_norm = 0.3452, y_tile = 707.07 -> floor 707 Previously had 1099/706 which placed the centre one tile west and one tile south of Passau. User observed the tile content was 'vertauscht' — it was correct ESRI imagery of a different geographic location (near Schärding), not Passau itself. --- vendor/clouds3d.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/clouds3d.js b/vendor/clouds3d.js index 23899a9..e70acf8 100644 --- a/vendor/clouds3d.js +++ b/vendor/clouds3d.js @@ -295,8 +295,8 @@ var GROUND_CORRIDOR_PERP = 5; // tiles perpendicular to travel var GROUND_BUFFER_LONG = 11; // refetch when this close to forward edge var GROUND_BUFFER_PERP = 1; // refetch when this close to side edge // Passau tile at zoom 11 -var GROUND_BASE_X = 1099; -var GROUND_BASE_Y = 706; +var GROUND_BASE_X = 1100; +var GROUND_BASE_Y = 707; // Module-level state, shared across renderer instances var groundCanvas = null;