Refine map compass layout and styling

This commit is contained in:
2026-03-23 13:13:47 +08:00
parent 277121fd51
commit c7b9fde65a
4 changed files with 24 additions and 36 deletions

View File

@@ -215,7 +215,7 @@ function formatHeadingText(headingDeg: number | null): string {
return '--'
}
return `${Math.round(normalizeRotationDeg(headingDeg))}deg`
return `${Math.round(normalizeRotationDeg(headingDeg))}°`
}
function formatOrientationModeText(mode: OrientationMode): string {
@@ -1798,5 +1798,6 @@ export class MapEngine {