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
)
Public Shared Function GPSGetLocation (
<OutAttribute> ByRef aCurPos As GM_Point_t,
aGetLatLon As Boolean
) As GM_Error_t32
public:
static GM_Error_t32 GPSGetLocation(
[OutAttribute] 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_t32A GM Error Code
See Also