GM_GPSUtilGPSGetLocation Method
Retrieves the current GPS location

Namespace:  GlobalMapper
Assembly: GlobalMapperWrapperNET (in GlobalMapperWrapperNET.dll) Version: 18.0.0.0 (18.0.0.0)

Syntax
C#
public static GM_Error_t32 GPSGetLocation(
	out GM_Point_t aCurPos,
	bool aGetLatLon
)

Parameters

aCurPos
Type: GlobalMapperGM_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