feat: add magnetic declination north reference modes

This commit is contained in:
2026-03-20 11:40:14 +08:00
parent 714d86356d
commit 8e6291885d
4 changed files with 209 additions and 33 deletions

View File

@@ -4,7 +4,7 @@ type MapPageData = MapEngineViewState & {
showDebugPanel: boolean
}
const INTERNAL_BUILD_VERSION = 'map-build-64'
const INTERNAL_BUILD_VERSION = 'map-build-75'
let mapEngine: MapEngine | null = null
@@ -153,6 +153,12 @@ Page({
}
},
handleCycleNorthReferenceMode() {
if (mapEngine) {
mapEngine.handleCycleNorthReferenceMode()
}
},
handleAutoRotateCalibrate() {
if (mapEngine) {
mapEngine.handleAutoRotateCalibrate()