File tree Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Expand file tree Collapse file tree 5 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 10
10
< link rel ="icon " type ="image/png " href ="images/Icon_Small.png " />
11
11
< title > GPS-PFD</ title >
12
12
< meta name ="author " content ="SAM TOKI STUDIO " />
13
- < meta name ="version " content ="v0.13 (2025/01/18) Beta Test. Since 2024/12/01. " />
13
+ < meta name ="version " content ="v0.14 (2025/01/18) Beta Test. Since 2024/12/01. " />
14
14
< meta name ="description " content ="利用 GPS 与加速计,在移动设备上模拟飞机驾驶舱的 PFD。 " />
15
15
< meta name ="copyright " content ="© 2025 SAM TOKI STUDIO " />
16
16
@@ -2064,7 +2064,7 @@ <h4>离线使用</h4>
2064
2064
< h4 > 安全与隐私</ h4 >
2065
2065
< p > 本应用程序仅供娱乐用途。警报功能可能出现误报。使用时请注意安全。本应用程序可能使用位置服务。详见< a href ="#Item_HelpDisclaimer " onclick ="ShowIAmHere('Item_HelpDisclaimer') "> 免责声明</ a > 与< a href ="#Item_HelpPrivacyStatement " onclick ="ShowIAmHere('Item_HelpPrivacyStatement') "> 隐私权声明</ a > 。</ p >
2066
2066
< h4 > 已知问题</ h4 >
2067
- < p > 本应用程序仍处于测试阶段。已知问题有:①加速计误差严重。系统已尽可能减小误差。②在 < a href ="https://zh.wikipedia.org/wiki/Chromium " > Chromium </ a > 内核的浏览器上可能无法显示朝向。③「保持屏幕常亮」可能不起作用。④在 < a href =" https://zh.wikipedia.org/wiki/ Firefox "> Firefox</ a > for Android 上偶尔会出错。⑤ 在 < a href ="https://zh.wikipedia.org/wiki/Brave浏览器 "> Brave</ a > for Android 上无法使用。若您有其他问题或建议,请向我< a href ="#Item_HelpGetInvolved " onclick ="ShowIAmHere('Item_HelpGetInvolved') "> 提供反馈</ a > 。</ p >
2067
+ < p > 本应用程序仍处于测试阶段。已知问题有:①加速计误差严重。系统已尽可能减小误差。②在 < a href ="https://zh.wikipedia.org/wiki/Firefox "> Firefox</ a > for Android 上,「保持屏幕常亮」可能不起作用,且偶尔会出错。③ 在 < a href ="https://zh.wikipedia.org/wiki/Brave浏览器 "> Brave</ a > for Android 上无法使用。若您有其他问题或建议,请向我< a href ="#Item_HelpGetInvolved " onclick ="ShowIAmHere('Item_HelpGetInvolved') "> 提供反馈</ a > 。</ p >
2068
2068
</ fieldset >
2069
2069
</ li >
2070
2070
< li class ="Item " id ="Item_HelpTutorial ">
@@ -2140,7 +2140,7 @@ <h4>音频</h4>
2140
2140
< legend > 关于</ legend >
2141
2141
< p > GPS-PFD</ p >
2142
2142
< p > by SAM TOKI STUDIO</ p >
2143
- < p > 版本 v0.13 (< time datetime ="2025-01-18 " pubdate ="pubdate "> 2025/01/18</ time > ) Beta Test< br />
2143
+ < p > 版本 v0.14 (< time datetime ="2025-01-18 " pubdate ="pubdate "> 2025/01/18</ time > ) Beta Test< br />
2144
2144
始于 2024/12/01</ p >
2145
2145
< p class ="GreenText Hidden " id ="Label_HelpPWANewVersionReady " inert ="true "> 新版本已就绪,将在下次启动时生效。</ p >
2146
2146
< ul class ="CtrlGroup BelowParagraph ">
Original file line number Diff line number Diff line change 6
6
// Declare variables
7
7
"use strict" ;
8
8
// Unsaved
9
- const CacheName = "GPS-PFD_v0.13 " ;
9
+ const CacheName = "GPS-PFD_v0.14 " ;
10
10
11
11
// Listeners
12
12
// Service worker (https://learn.microsoft.com/en-us/microsoft-edge/progressive-web-apps-chromium/how-to/#step-5---add-a-service-worker)
Original file line number Diff line number Diff line change 6
6
// Declare variables
7
7
"use strict" ;
8
8
// Unsaved
9
- const CurrentVersion = 0.13 ;
9
+ const CurrentVersion = 0.14 ,
10
+ GeolocationAPIOptions = {
11
+ enableHighAccuracy : true
12
+ } ;
10
13
var PFD0 = {
11
14
RawData : {
12
15
GPS : {
3469
3472
window . addEventListener ( "resize" , ClockPFD ) ;
3470
3473
3471
3474
// Geolocation API
3472
- navigator . geolocation . watchPosition ( RefreshGPSData ) ;
3475
+ navigator . geolocation . watchPosition ( RefreshGPSData , null , GeolocationAPIOptions ) ;
3473
3476
3474
3477
// Device motion API
3475
3478
window . addEventListener ( "devicemotion" , RefreshAccelData ) ;
Original file line number Diff line number Diff line change @@ -41,12 +41,8 @@ This application is still in beta test. Known issues are as follows:
41
41
42
42
- 加速计误差严重。系统已尽可能减小误差。<br >
43
43
The accelerometer is serious inaccurate. The system does its best to reduce errors.
44
- - 在 [ Chromium] ( https://zh.wikipedia.org/wiki/Chromium ) 内核的浏览器上可能无法显示朝向。<br >
45
- The heading may be unavailable on [ Chromium] ( https://en.wikipedia.org/wiki/Chromium_(web_browser) ) browsers.
46
- - 「保持屏幕常亮」可能不起作用。<br >
47
- The "keep screen on" feature may not work.
48
- - 在 [ Firefox] ( https://zh.wikipedia.org/wiki/Firefox ) for Android 上偶尔会出错。<br >
49
- Rare errors occur on [ Firefox] ( https://en.wikipedia.org/wiki/Firefox ) for Android.
44
+ - 在 [ Firefox] ( https://zh.wikipedia.org/wiki/Firefox ) for Android 上,「保持屏幕常亮」可能不起作用,且偶尔会出错。<br >
45
+ On [ Firefox] ( https://en.wikipedia.org/wiki/Firefox ) for Android, the "keep screen on" feature may not work, and unexpected errors sometimes occur.
50
46
- 在 [ Brave] ( https://zh.wikipedia.org/wiki/Brave浏览器 ) for Android 上无法使用。<br >
51
47
Completely unusable on [ Brave] ( https://en.wikipedia.org/wiki/Brave_(web_browser) ) for Android.
52
48
You can’t perform that action at this time.
0 commit comments