Function Getfavoritelongitude( Afavorite As Long) As Long; Function Getfavoritelatitude( Afavorite As Long) As Long; Sub Navigatetofavorite( Afavorite As Long); Sub Showcoordinateonmap( Alongitude As Long, Alatitude As Long) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

5. Communicating with TomTom Navigator from Visual Basic
See Also: ClearFavorite, GetFavoriteName, GetFavoriteLongitude, GetFavoriteLatitude, SetFavorite,
NavigateToFavorite

5.2.13. Function GetFavoriteLongitude( aFavorite As Long) As Long

Command Parameters:
• aFavorite As Long: index of favorite (base zero)
Returns: longitude of favorite
Supported Since: TTN 1.42
Returns the longitude of a favorite location.
See Also: ClearFavorite, GetFavoriteName, GetFavoriteDescription, GetFavoriteLatitude, SetFavorite,
NavigateToFavorite

5.2.14. Function GetFavoriteLatitude( aFavorite As Long) As Long

Command Parameters:
• aFavorite As Long: index of favorite (base zero)
Returns: latitude of favorite
Supported Since: TTN 1.42
Returns the latitude of a favorite location.
See Also: ClearFavorite, GetFavoriteName, GetFavoriteDescription, GetFavoriteLongitude, SetFavorite,
NavigateToFavorite

5.2.15. Sub NavigateToFavorite( aFavorite As Long)

Command Parameters:
• aFavorite As Long: index of favorite (base zero)
Supported Since: TTN 1.42
Navigates to a specific favorite location.
See Also: NavigateToCoordinate, ClearFavorite, SetFavorite, GetFavoriteName, GetFavoriteDescription,
GetFavoriteLongitude, GetFavoriteLatitude
5.2.16. Sub ShowCoordinateOnMap( aLongitude As Long, aLatitude As
Long)
Command Parameters:
• aLongitude As Long: longitude specified in WGS84 format (in millionths of degree).
• aLatitude As Long: latitude specified in WGS84 format (in millionths of degree).
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:
Sub ShowAmsterdam
On Error GoTo ShowAmsterdam_Error
Call TTNav.ShowCoordinateOnMap(4860000, 52380000)
ShowAmsterdam_Exit:
Exit Sub
18

Advertisement

Table of Contents
loading

Table of Contents