C++ SDK
SGpsPosition Struct Reference

SGpsPosition structure is used to obtain information about GPS position, data and quality of GPS signal. More...

#include <ApplicationApi.h>

Public Member Functions

 SGpsPosition ()
 Constructor of SGpsPosition. More...
 
void GetTime (BYTE &nHour, BYTE &nMinute, BYTE &nSeconds, WORD &nMiliseconds)
 The function returns GMT time given by GPS. More...
 
void GetDate (BYTE &nDay, BYTE &nMonth, WORD &nYear)
 The function returns GMT date given by GPS. More...
 

Data Fields

SHORT nSatellites
 Number of visible satellites. More...
 
LONG lLatitude
 Latitude represents Y coordinate (geographical latitude) of location in degrees multiplied by 100000.
See Coordinates conversion section in TROUBLESHOOTING page. More...
 
LONG lLongitude
 Longitude represents X coordinate (geographical longitude) of location in degrees multiplied by 100000.
See Coordinates conversion section in TROUBLESHOOTING page. More...
 
LONG lAltitude
 Altitude in meters. More...
 
DOUBLE dCourse
 Course represents speed direction in degrees(from gps signal) multiplied by 100000. More...
 
DOUBLE dRealCourse
 Real course(in degrees) - orientation that the car has in Sygic software.
RealCourse=0 represents East direction and increases in clockwise direction. More...
 
DOUBLE dSpeed
 Speed represents velocity in kilometers per hour (km/h). More...
 
DOUBLE dHDoP
 Horizontal dilution of precision. More...
 
DOUBLE dTime
 Actual GPS time. More...
 
DWORD dwDate
 Actual GPS date. More...
 
LONG lRoadOffset
 Road element offset of the road, to which is the current position snapped. More...
 
LONG lFromPointOffset
 Offset of start graph point of the current road segment. More...
 
LONG lToPointOffset
 Offset of end graph point of the current road segment. More...
 
TCHAR szMapIso [4]
 ISO code of the map, in which is the current position located. More...
 
SSatelliteInfo satellitesInfo [12]
 Satellites info for first 12 satellites. More...
 

Detailed Description

SGpsPosition structure is used to obtain information about GPS position, data and quality of GPS signal.