Tttnlocationv01 Structure; Egpsstatus Enumeration; Tgeocodeinfov01 Structure - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

• KCommandShowPOI − show "points of interest" on the map
• KCommandHidePOI − hide "points of interest" on the map
• KCommandShowExits − show the next highway exit sign on screen (works only when in navigation
view)
• KCommandHideExits − hide the next highway exit sign on screen (works only when in navigation
view)
• KCommandDisableGuidance − disable active guidance support (works only when in navigation
view)
• KCommandEnableGuidance − enable active guidance support (works only when in navigation view)
• KCommandShowCompass − show compass on screen (works only when in navigation view)
• KCommandHideCompass − hide compass (works only when in navigation view)
• KCommandGoHome − navigate to the "Home" favorite (works only when in navigation view)
• KCommandShowFavorites − show "Favorites" on the map
• KCommandHideFavorites − hide "Favorites" on the map
Versions 1.51 and later of TomTom Navigator support also the following direct commands:
• KCommandUnitsKm − set distance units to kilometers
• KCommandUnitsM − set distance units to miles
• KCommandAutoRecalcOn − turn on automatic recalculation of the route
• KCommandAutoRecalcOff − turn off automatic recalculation of the route
• KCommandAutoZoomOn − turn on automatic zooming
• KCommandAutoZoomOff − turn off automatic zooming

6.3.4. TTTnLocationV01 structure

The TTTnLocationV01 struct contains the following fields:
• long iLongitude − Longitude and latitude in millionths of degree (WGS84 format)
• long iLatitude −
• int iDirection − Direction in degrees: zero is north, continuing in clockwise direction
• int iSpeedKMh − current driving speed in kilometers per hour

6.3.5. EGpsStatus enumeration

Status specifies if the information in this record is recent or not. Status<0 means some error occurred
(−1 is general), Status>=0 means the data is valid.
Currently allowed values are:
KErrGeneral
KErrReceiving

6.3.6. TGeocodeInfoV01 structure

The TGeocodeInfoV01 struct contains the following fields:
• int iStatus − Validity of the rest of the fields, as explained below
• long iLongitude − Longitude and latitude in millionths of degree (WGS84 format)
• long iLatitude −
• TCHAR iCityName[128] − Complete city name
• TCHAR iStreetName[128] − Complete street name
The status field can contain the following flags:
• KGeocodeFailure − no location found at all, the rest of the fields are invalid
• KGeocodeCityAmbiguous − the given city name was ambiguous, random (possibly wrong) selection
made
6. Communicating with TomTom Navigator from C++
42

Advertisement

Table of Contents
loading

Table of Contents