30
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 1.42
Clear a favorite.
See Also:
SetFavoriteV01, GetFavoriteV01, NavigateToFavorite
6.2.11. INT SetFavoriteV01( INT aIndex, TFavouriteRecV01 & aFavorite)
Command Parameters:
•
INT aIndex:
index of favorite (base zero)
•
TFavouriteRecV01 & aFavorite:
favorite information
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 1.42
Set favorite information.
See Also:
ClearFavorite, GetFavoriteV01, NavigateToFavorite
6.2.12. INT GetFavoriteV01( INT aIndex, TFavouriteRecV01& aFavorite)
Command Parameters:
•
INT aIndex:
index of favorite (base zero)
•
TFavouriteRecV01& aFavorite:
favorite information
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 1.42
Get favorite information.
See Also:
ClearFavorite, SetFavoriteV01, NavigateToFavorite
6.2.13. INT NavigateToFavorite( INT aIndex)
Command Parameters:
•
INT aIndex:
index of favorite (base zero)
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 1.42
Navigates to a specific favorite with index aIndex (base zero).
See Also:
NavigateToCoordinate, ClearFavorite, SetFavoriteV01, GetFavoriteV01
6.2.14. INT ShowCoordinateOnMap( long aLongitude, long aLatitude)
Command Parameters:
•
long aLongitude:
longitude specified in WGS84 format (in millionths of degree)
•
long aLatitude:
latitude specified in WGS84 format (in millionths of degree)
Returns:
0 if successful, non−zero value otherwise.
Supported Since:
TTN 1.42
Centers the map around the given coordinate (zoomed in), specified in WGS84 format (longitude and
latitude in millionths of degree).
Example:
INT error = CTomTomNavigatorCom::ShowCoordinateOnMap(4860000, 52380000);
6. Communicating with TomTom Navigator from C++