May I ask, web app how to get the current altitude?

Baidu map api geolocation Gao de, have tried, can obtain longitude and latitude, but altitude is 0 or null,
is packaged into app after testing on the mobile phone, is there any service or method to obtain altitude,
"Walker" this app can measure altitude several years ago, how are similar applications realized?

Mar.29,2021
Menu