Global Mapper SDK
GM_GPSGetVelocity
Retrieves the current GPS velocity value in meters/second. Will return GM_Error_GPSDataNotValid if there if either we are not tracking a GPS device or the velocity is not known.
Syntax
C++
Copy
GM_Error_t32 GM_GPSGetVelocity
(
float* aVelocity // out: current GPS velocity in m/s
);