refactor: clean map page and tune heading mode

This commit is contained in:
2026-03-19 16:49:37 +08:00
parent 5fea805ac3
commit ceb5479c69
7 changed files with 89 additions and 389 deletions

View File

@@ -25,11 +25,11 @@ const INERTIA_MIN_SPEED = 0.02
const PREVIEW_RESET_DURATION_MS = 140
const UI_SYNC_INTERVAL_MS = 80
const ROTATE_STEP_DEG = 15
const AUTO_ROTATE_FRAME_MS = 12
const AUTO_ROTATE_EASE = 0.2
const AUTO_ROTATE_FRAME_MS = 10
const AUTO_ROTATE_EASE = 0.24
const AUTO_ROTATE_SNAP_DEG = 0.1
const AUTO_ROTATE_DEADZONE_DEG = 0.35
const AUTO_ROTATE_MAX_STEP_DEG = 1.35
const AUTO_ROTATE_DEADZONE_DEG = 1.5
const AUTO_ROTATE_MAX_STEP_DEG = 0.9
const AUTO_ROTATE_HEADING_SMOOTHING = 0.32
const SAMPLE_TRACK_WGS84: LonLatPoint[] = [