Click or drag to resize

GM_GPSUtilGPSGetLocation Method

Retrieves the current GPS location

Namespace:  GlobalMapper.GPS
Assembly:  GlobalMapperWrapperNET45 (in GlobalMapperWrapperNET45.dll) Version: 19.1.0.0 (19.1.0.0)
Syntax
public static GM_Error_t32 GPSGetLocation(
	out GM_Point_t aCurPos,
	bool aGetLatLon
)

Parameters

aCurPos
Type: GlobalMapper.TypesGM_Point_t
out: current GPS location
aGetLatLon
Type: SystemBoolean
in: retrieve coordinates in lat/lon/WGS84 rather than global coords

Return Value

Type: GM_Error_t32
A GM Error Code
See Also