Global Mapper SDK
GM_GPSGetBearing
Retrieves the current GPS altitude value in meters. Will return GM_Error_GPSDataNotValid if there if a GPS device is not being tracked with a 3D fix.
Syntax
C++
Copy
GM_Error_t32 GM_GPSGetAltitude
(
float* aAltitude // out: current GPS altitude in meters
);