From cb648caf65cfe50e17f00093fe6958e52f0b192d Mon Sep 17 00:00:00 2001 From: atsunatsu Date: Tue, 8 Sep 2026 01:48:24 +0800 Subject: [PATCH] =?UTF-8?q?tune(map):=20raise=20thresholds=20=E2=80=94=20s?= =?UTF-8?q?ub-square=20grid=20lines=20at=20zoom>=3D6=20(was=205),=20field?= =?UTF-8?q?=20labels=20at=20zoom>=3D4=20(was=203)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../look4sat/feature/map/MaidenheadGridOverlay.kt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt index 487f5db7..ed199a1a 100644 --- a/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt +++ b/feature/map/src/main/java/com/rtbishop/look4sat/feature/map/MaidenheadGridOverlay.kt @@ -312,8 +312,15 @@ class MaidenheadGridOverlay : Overlay() { const val FIELD_LON = 20.0 const val SUB_SQUARE_LAT = 1.0 const val SUB_SQUARE_LON = 2.0 - const val GRID_ZOOM_SUB = 5.0 - const val FIELD_ZOOM_LABELS = 3.0 + // Zoom at which the 2°x1° sub-square grid lines/fills appear. + // 5.0 → 6.0: at zoom 5 a full field spans too little screen width and + // the sub-square grid is too dense to read; 6 roughly doubles the + // on-screen size of each square. + const val GRID_ZOOM_SUB = 6.0 + // Zoom at which cell name labels appear. + // 3.0 → 4.0: fields were still cramped at zoom 3; 4 gives each 2-char + // field label comfortable room. + const val FIELD_ZOOM_LABELS = 4.0 const val MIN_LABEL_CELL_PX = 48f const val MAX_OVERSHOOT_PX = 64 }