优化地图交互与文档方案
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user