I use a .typ file of my own creation to override the default line styles in OSM data loaded on My Legend HCx. Everything displays correctly apart from this element:
[_line]
Garmin definition: Political boundary
Mkgmap definition: Administrative boundary/admin level less than 9 and less than 7
My definition: British National Grid 1 kilometre
Colour: blue
Type=0x1c
XPM=“32 1 2 1”
“. c #00ccff”
“X c none”
“.X.X.X.X.X.X.X.X.X.X.X.X.X.X.X.X”
[end]
Daytime and nighttime colours should be the same - blue. The daytime colour displays correctly, but the nighttime colour displays as white instead of blue. Can anyone suggest why?
My thanks for your prompt response. I copied and pasted your suggested section into my .txt file in place of what was there, made a new .typ file and opened it in the Garmin TYP Editor at http://ati.land.cz/gps/typdecomp/editor.cgi. It still shows the nighttime colour as white. I haven’t uploaded data to my GPSr yet to confirm that, but in previous uploads, what the editor shows is replicated in it. Decompiling the .typ file shows the second line as white.
For the record, I have overcome the issue by entering two additional lines to represent nighttime:
[_line]
Garmin definition: Political boundary
Mkgmap definition: Administrative boundary/admin level less than 9 and less than 7
My definition: British National Grid 1 kilometre
Colour: blue
Type=0x1c
XPM=“32 1 4 1”
“. c #00ccff”
“X c none”
“3 c #00ccff”
“4 c none”
“.X.X.X.X.X.X.X.X.X.X.X.X.X.X.X.X”
[end]