优化地图交互与文档方案

This commit is contained in:
2026-03-26 12:20:27 +08:00
parent ce25530938
commit d695308a55
9 changed files with 2196 additions and 69 deletions

View File

@@ -5,7 +5,7 @@ export interface CompassHeadingControllerCallbacks {
type SensorSource = 'compass' | 'motion' | null
const ABSOLUTE_HEADING_CORRECTION = 0.24
const ABSOLUTE_HEADING_CORRECTION = 0.44
function normalizeHeadingDeg(headingDeg: number): number {
const normalized = headingDeg % 360
@@ -202,5 +202,3 @@ export class CompassHeadingController {
}