TomTom Navigator SDK Installation And Use Manual page 55

Version 3.0 build 193
Table of Contents

Advertisement

• 10 − width of local road 2
• 11 − width of local road 1
• 12 − width of other road 4
• 13 − width of other road 3
• 14 − width of other road 2
• 15 − width of other road 1
The line pattern codes are:
• 0 − solid
• 16 − dashed
• 32 − dotted
• 48 − dot dash
• 64 − dot dot dash
The line thickness and line pattern codes can be combined using arithmetic addition or bit−wise OR.
POLYLINE (type 2):
8 BYTES
HEADER
16 bytes
Normalized coordinate rectangle of the area around polyline
4 bytes
Line type (0=default)
4 bytes
Red/Green/Blue color code of lines
4 bytes
N = number of co−ordinates (should be 2 or more)
N*8 bytes
x/y−coordinates of the poly−line
NOTE: The line type field can contain the same codes as in the LINE (type 1) records.
WARNING−ICON (type 3):
8 BYTES
HEADER
16 bytes
Normalized rectangular area
4 bytes
Flags:
0x0001 − if set, icon is ALWAYS shown. If not set,
icon is only shown if the current GPS position
is inside the specified rectangle
4 bytes
First parameter of the message to be sent to the
callback window
4 bytes
Second parameter of the message to be sent to the
callback window
1 byte
W = length of the name of the callback window
(INcluding zero−termination)
1 byte
M = length of the name of the message to be sent to
the callback window (INcluding zero−termination)
1 byte
L = length of the full filename of the icon to display
(INcluding zero−termination)
1 byte
K = length of the full filename of the bitmap mask for
the icon (INcluding zero−termination)
W bytes
Zero−terminated name of the callback window
M bytes
Zero−terminated name of the message to be sent to the
callback window
L bytes
Zero−terminated filename of a .BMP file (a 48x48,
16−color or 256−color bitmap to be used as icon)
K bytes
Zero−terminated filename of a .BMP file (a 48x48
monochrome bitmap to be used as mask)
? bytes
Zero−bytes, to make this record a multiple of 4 bytes long
7. Graphic Information Files
50

Advertisement

Table of Contents
loading

Table of Contents