Sub Getroutecoordinates( Afilename As String); Sub Usegffile( Afilename As String); Sub Enablegfrecord( Arecordid As Long, Astate As Boolean) - TomTom Navigator SDK Installation And Use Manual

Version 3.0 build 193
Table of Contents

Advertisement

5. Communicating with TomTom Navigator from Visual Basic
Property RouteEnclosingLongitudeE As Long: −
Property RouteEnclosingLatitudeN As Long: −
Property RouteLength As Long: length of the route in meters
Property RouteDuration As Long: duration of the route in seconds
Property RouteDistanceToDestination As Long: distance from current position to destination in meters
Property RouteTimeToDestination As Long: time from current position to destination in seconds
The route status property can contain the following flags:
• 1 − the departure point has been set
• 2 − the destination point has been set
• 4 − in the process of calculating a route
• 8 − there is a valid route planned
• 16 − time and distance to destination are available
If GetRouteInfo has never been called, RouteStatus will be 0, indicating that the rest of these properties
don't contain valid information.

5.2.30. Sub GetRouteCoordinates( aFileName As String)

Command Parameters:
• aFileName As String: name of the file to store in
Supported Since: TTN 3.0
Store the coordinates of a list of points from the current route in the specified file.

5.2.31. Sub UseGFFile( aFilename As String)

Command Parameters:
• aFilename As String: full name of the GF file
Supported Since: TTN 2.0
Instruct Navigator to display a GF file, discarding the previous GF file (if any).
See Also: EnableGFRecord

5.2.32. Sub EnableGFRecord( aRecordID As Long, aState As Boolean)

Command Parameters:
• aRecordID As Long: unique ID of the record to be enabled or disabled
• aState As Boolean: whether to enable or disable the record
Supported Since: TTN 2.0
Enable or disable a record in the current GF file.
See Also: UseGFFile
26

Advertisement

Table of Contents
loading

Table of Contents