Int Getlocationinfov02( Long Alongitude, Long Alatitude, Int &Aloctype, Tchar Astreetname[128], Int &Ahousenr1, Int &Ahousenr2); Int Navigatetocoordinate( Long Alongitude, Long Alatitude, Lpctstr Aname); Int Clearfavorite( Int Aindex) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.25
Get information about the location closest to the given point. In other words, perform reverse
geocoding, or 'geodecoding'.
6.2.8. INT GetLocationInfoV02( long aLongitude, long aLatitude, int
&aLocType, TCHAR aStreetName[128], int &aHouseNr1, int
&aHouseNr2)
Command Parameters:
• long aLongitude: longitude specified in WGS84 format (in millionths of degree)
• long aLatitude: latitude specified in WGS84 format (in millionths of degree)
• int &aLocType: street address of this location
• TCHAR aStreetName[128]: !2
• int &aHouseNr1: !2
• int &aHouseNr2: x 2
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 2.25
Get information about the location closest to the given point. In other words, perform reverse
geocoding, or 'geodecoding'.
6.2.9. INT NavigateToCoordinate( long aLongitude, long aLatitude,
LPCTSTR aName)
Command Parameters:
• long aLongitude: longitude specified in WGS84 format (in millionths of degree)
• long aLatitude: latitude specified in WGS84 format (in millionths of degree)
• LPCTSTR aName: the name of the location being navigated to (shown in the route description)
Returns: 0 if successful, non−zero value otherwise.
Supported Since: TTN 1.42
Navigate to a location specified in WGS84 format (longitude and latitude in millionths of degree).
Example:
The following example call instructs TomTom Navigator to plan a route to a point somewhere in
Amsterdam, the Netherlands.
INT error = CTomTomNavigatorCom::NavigateToCoordinate(4860000, 52380000,
if (error)
{
::AfxMessageBox(TEXT("Navigation to Amsterdam failed"));
}
See Also: NavigateToFavorite, ShowCoordinateOnMap

6.2.10. INT ClearFavorite( INT aIndex)

Command Parameters:
• INT aIndex: index of favorite (base zero)
6. Communicating with TomTom Navigator from C++
29
_T("Amsterdam"));

Advertisement

Table of Contents
loading

Table of Contents