Sub Showrectangleonmap( Alongitudew As Long, Alatitudes As Long, Alongitudee As Long, Alatituden As Long); Sub Senddirectcommand( Acommand 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
ShowAmsterdam_Error:
MsgBox "Failed to center around a point in Amsterdam"
Resume ShowAmsterdam_Exit
End Sub
See Also: NavigateToCoordinate
5.2.17. Sub ShowRectangleOnMap( aLongitudeW As Long, aLatitudeS
As Long, aLongitudeE As Long, aLatitudeN As Long)
Command Parameters:
• aLongitudeW As Long: western Longitude specified in WGS84 format (in millionths of degrees)
• aLatitudeS As Long: southern latitude specified in WGS84 format (in millionths of degrees)
• aLongitudeE As Long: eastern Longitude specified in WGS84 format (in millionths of degrees)
• aLatitudeN As Long: northern latitude specified in WGS84 format (in millionths of degrees)
Supported since: TTN 3.0
Show the given rectangle of the map.
See Also: ShowCoordinateOnMap

5.2.18. Sub SendDirectCommand( aCommand As Long)

Command Parameters:
• aCommand As Long: code of the command to execute
Supported Since: TTN 1.42
Performs one of various commands to change a setting or instruct TomTom Navigator to perform a
certain task. The command codes are:
• 1 − SoundOn: Turn spoken voice instructions on (works only when in navigation view)
• 2 − SoundOff: Turn spoken voice instructions off (works only when in navigation view)
• 3 − NightColors: Show map in night colors (works only when in navigation view)
• 4 − DayColors: Show map in day colors (works only when in navigation view)
• 5 − ShowMap: Show map and instructions while driving (works only when in navigation view)
• 6 − HideMap: Only show instructions while driving (works only when in navigation view)
• 7 − Recalculate: Recalculate a route (works only when in navigation view)
• 8 − ShowPOI: Show points of interest on the map
• 9 − HidePOI: Hide points of interest on the map
• 10 − ShowExits: Show the next highway exit sign on screen (works only when in navigation view)
• 11 − HideExits: Hide the next highway exit sign on screen (works only when in navigation view)
• 12 − DisableGuidance: Disable active guidance support (works only when in navigation view)
• 13 − EnableGuidance: Enable active guidance support (works only when in navigation view)
• 14 − ShowCompass: Show compass on screen (works only when in navigation view)
• 15 − HideCompass: Hide compass (works only when in navigation view)
• 16 − GoHome: Navigate to the "Home" favorite (works only when in navigation view)
• 17 − ShowFavorites: Show favorite locations on the map
• 18 − HideFavorites: Hide favorite locations on the map
Versions 1.51 and later of TomTom Navigator support also the following direct commands:
• 19 − UnitsKm: set distance units to kilometers
• 20 − UnitsM: set distance units to miles
• 21 − AutoRecalcOn: turn on automatic recalculation of the route
• 22 − AutoRecalcOff: turn off automatic recalculation of the route
19

Advertisement

Table of Contents
loading

Table of Contents