Int Geocodeexv01( Lpctstr Acity, Lpctstr Astreet, Lpctstr Ahousenr, Lpctstr Apostcode, Tgeocodeinfov01& Ageocodeinfo); Int Getdatasetinfov01( Tdatasetinfov01& Adatasetinfo); Int Getrouteinfov01( Trouteinfov01& Arouteinfo); Int Getroutecoordinates( Lpctstr Afilename) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

::AfxMessageBox(TEXT("Failed to navigate to address"));
}
}
else
{
::AfxMessageBox(TEXT("Address not found"));
}
6.2.51. INT GeocodeExV01( LPCTSTR aCity, LPCTSTR aStreet,
LPCTSTR aHouseNr, LPCTSTR aPostcode, TGeocodeInfoV01&
aGeocodeInfo)
Command Parameters:
• LPCTSTR aCity: city name
• LPCTSTR aStreet: street name
• LPCTSTR aHouseNr: house number
• LPCTSTR aPostcode: postal code
• TGeocodeInfoV01& aGeocodeInfo: geocode information
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.22
Find the location specified by an address, given by the city name, street name, house number and postal
code arguments, and return the co−ordinates of the found location and its complete city and street names in
the geocode information argument. If the street name argument is empty, the function will try to find the
center of the city specified by the city name argument. As of version 2.22 of Navigator, the postal code will
be only used as a help in trying to find the city. If no location is found with city and street names exactly
matching the arguments, then a city and a street will be chosen with names as similar as possible to the
given ones. This will be indicated in the status field of the geocode information argument.
6.2.52. INT GetDataSetInfoV01( TDataSetInfoV01& aDataSetInfo)
Command Parameters:
• TDataSetInfoV01& aDataSetInfo: data set information
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.0
Get information about the currently selected data set.
6.2.53. INT GetRouteInfoV01( TRouteInfoV01& aRouteInfo)
Command Parameters:
• TRouteInfoV01& aRouteInfo: route information
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.0
Get information about the current route.

6.2.54. INT GetRouteCoordinates( LPCTSTR aFileName)

Command Parameters:
• LPCTSTR aFileName: name of the file to store in
Returns: 0 if successful, non−zero value otherwise.
6. Communicating with TomTom Navigator from C++
40

Advertisement

Table of Contents
loading

Table of Contents